SlideShare ist ein Scribd-Unternehmen logo
1 von 56
print $title;
print $subtitle;
print $author;
print $position;
print $institution;
$title = “harnessing free content with web service apis”;
$subtitle = “an ala editions workshop”;
$author = “jason paul michel”;
$position = “user experience librarian”;
$institution = “miami university libraries”;
agenda
• Discuss open web ecosystem
• Place of APIs in that ecosystem
• What is exactly is an API?
• An example from the programmer’s
perspective
• Real World examples
• Slice of available APIs
• What is needed for development
• Where to find and keep up with information
the “open” web ecosystem
• social web services are not social merely
because of the interactions between users
they facilitate.
• social web services are social because
they also are able to talk to one another on
a programmatic level.
the “open” web ecosystem
• thus, If This Then That (ifttt.com)
the “open” web ecosystem
• thus,
the “open” web ecosystem
• Achieved largely through the use of APIs
• API = Application Programming Interface
• Method of data transfer via HTTP
neighbor’s garage analogy
Open Source: take whatever you want, modify however you want,
use however you want
Proprietary: pay for each tool in the garage, use them as designed
API: utilize the services of the garage,
if you have authorization and ask the right way
Why APIs?
• Increase visibility of data / service
• Take advantage of the crowdsourcing
model to improve service, e.g. Tweetdeck
• From libraries’ perspective: its important to
integrate with wider web environment
Typical API Process
• Request API Key from Service
• Choose scripting language: PHP, Ruby on Rails etc.
• Using chosen language, submit data request via
available API methods
• Ingest that data in JSON, XML or other data type
• Transform the data to make it usable with scripting
language
• Upload data to a database
• Wrap data in HTML, CSS for user interface
api request example
https://api.twitter.com/1.1/search/tweet.json?q=book%20OR%20research
Base url
Each Web Service typically has several base urls depending on the type of
information you are seeking and each resource type has its own set of
parameters, e.g.:
https://api.twitter.com/1.1/followers/ids,
https://api.twitter.com/1.1/friendships/lookup
Data type
Parameters
api request example
[statuses] => Array
(
[0] => stdClass Object
(
[metadata] => stdClass Object
(
[result_type] => recent
[iso_language_code] => en
)
[created_at] => Sat Jul 20 16:25:22 +0000 2013
[id] => 3.58623679498E+17
[id_str] => 358623679497777153
[text] => This book just got too good! She said yes!! 👏 👏 #christiangrey
[source] => Twitter for iPhone
[truncated] =>
[in_reply_to_status_id] =>
[in_reply_to_status_id_str] =>
[in_reply_to_user_id] =>
[in_reply_to_user_id_str] =>
[in_reply_to_screen_name] =>
[user] => stdClass Object
(
[id] => 307066025
[id_str] => 307066025
[name] => Alicia Reece
[screen_name] => aaliciaaaajo
[location] =>
etc…..
api request example
• At this point you can send the data received
to a database or create a dynamic web
application on top of the live data.
try it
• https://graph.facebook.com/username or
• https://graph.facebook.com/pageid
working examples
twitter
• Programmatically capture, store & display
potentially relevant tweets in specific
geolocation to serve as a springboard for
proactive info services and social
interaction.
https://api.twitter.com/1.1/search/tweet.json?q=book%20OR%20research&geocode=39.5069974,-8
working examples
vimeo
• Upload video tutorials to Vimeo
• Utilizing API, bring your own video tutorials in
to your own web interface.
http://vimeo.com/api/v2/miamiulibraries/videos.json
working examples
vimeo
working examples
instagram
• Create a patron-generated gallery of
instagram images based on a pre-determined
hashtag or keyword
https://api.instagram.com/v1/tags/miamioh/media/recent
working examples
instagram
http://d.lib.ncsu.edu/myhuntlibrary
working examples
instagram
working examples
movieDB
• Utilizing the movieDB API, create a Netflix-
style application with available Movie posters
http://themoviedb.apiary.io/3/search/movie
working examples
movieDB
working examples
worldcat
• Utilizing OCLC’s WorldCat Basic API, pull in
citation information for catalog records.
http://www.worldcat.org/webservices/catalog/content/citations/isbn/1250012570?cfor
mat=turabian&wskey=key
working examples
worldcat
working examples
goodreads
• Utilizing goodreads API, enhance catalog
records with goodreads reviews.
http://www.goodreads.com/book/show?format=json&key=key&id=bookid
working examples
goodreads example
working examples
openlibrary/hathi/google books
• You don’t need to limit your catalog to
what you own / subscribe to…
• There are web services out there with
open content that your catalog can tap in
to.
http://openlibrary.org/api/books?bibkeys=OCLC:4942988&jscmd=data&format=json
http://catalog.hathitrust.org/api/volumes/full/oclc/381593.json
working examples
openlibrary/hathi/google books
working examples
openlibrary
• Enhance catalog with book covers.
http://covers.openlibrary.org/b/olid/OL7440033M-S.jpg
http://covers.openlibrary.org/b/$key/$value-$size.jpg
working examples
flickr
• Bulk uploading images and metadata from
repositories to flickr for wider audience
• Embedding flickr slideshows of own
imagery stored in flickr
• Bringing in safe flickr content from current
events / subjects
working examples
Possible API Usages
Social Tracking
Possible API Usages
Catalog Enhancements
Possible API Usages
evernote & dropbox
• Export catalog records / lists of catalog
records out to Evernote/Dropbox
• Export articles to Evernote/Dropbox
Possible API Usages
Catalog Enhancements
rotten tomatoes
• Enhance movie records with Rotten
Tomatoes reviews
• Retrieve cast, directors and movie posters
Possible API Usages
Catalog Enhancements
ny times bestseller
• Get links to reviews of NY Times
Bestsellers
• Get current NY Times Bestseller Lists and
link to catalog records if available..
Possible API Usages
Catalog Enhancements
DPLA
• Enhancing catalog records with DPLA content
• DPLA content includes images, text, video and
sound
• “an open, distributed network of comprehensive
online resources that would draw on the nation’s
living heritage from libraries, universities, archives,
and museums in order to educate, inform, and
empower everyone in current and future
generations.”
Possible API Usages
Catalog Enhancements
hoover’s
• Get Company data to match potential
company queries in catalog
Possible API Usages
Catalog Enhancements
cambridge dictionaries online/oed
• Get definitions as an additional piece of
content in catalog search
Possible API Usages
Catalog Enhancements
mendeley
• export citation data from catalog
Possible API Usages
Catalog Enhancements
OA APIs
• CORE Project – Open University
• ArXiv
• Hathi
• Open Library
Possible API Usages
Catalog Enhancements
Single Interface Utopia?
Possible API Usages
ILS & Discovery Layer APIs
• ILSs and Discover Layers are increasingly
adding APIs…
• Ebsco EDS
• Summon
• VUFind
• Koha
• These APIs allow developers to create
their own interfaces..
Possible API Usages
Single Interface
Publisher APIs
• IEEE Xplore
• Springer
• Elsevier: SciVerse (Scopus,
ScienceDirect, SciVerse Hub)
• Cambridge Journals
• Cambridge Dictionaries
• And more….
Possible API Usages
Single Interface
Vendor APIs
• Factiva – integrate all of factiva’s content
• Hoover’s – integrate company information
• And more…
Possible API Usages
Single Interface
OA APIs
• CORE Project – Open University
• arXiv
• Open Library
• Hathi Trust
Possible API Usages
Single User Interface
API Development : what is
needed?
• Programming expertise: PHP, Ruby, Python,
Javascript, XML, JSON, SQL, HTML, CSS
• Invest subject librarians in the process: what
APIs are available per discipline, which offers
value?
• Usability assessment
• Development tools: programming software
and hardware
Further resources
• Programmable Web
• Zite(app): APIs
• Web Service APIs and Libraries, ALA
Editions
• eCourse in October
• Twitter: @kinlane, @hackernews
thank you!
• micheljp@miamioh.edu
• @jpmichel
• gplus.to/jpmichel (G+)
References
• http://ifttt.com
• https://dev.twitter.com/
• https://developers.facebook.com/docs/reference/api/
• https://developer.vimeo.com/
• http://instagram.com/developer/
• http://www.themoviedb.org/
• http://oclc.org/developer/documentation/worldcat-basic-api/using-api
• http://www.goodreads.com/api
• http://openlibrary.org/developers/api
• http://www.hathitrust.org/data_api
• http://www.flickr.com/services/api/
• http://dev.evernote.com/
• https://www.dropbox.com/developers
• http://developer.rottentomatoes.com/
• http://developer.nytimes.com/docs
References
• http://dp.la/info/developers/codex/
• http://developer.hoovers.com/
• http://core.kmi.open.ac.uk/intro/api
• http://arxiv.org/help/api/index
• http://dictionary-api.cambridge.org/
• http://public.oed.com/subscriber-services/sru-service/
• http://dev.mendeley.com/
• https://www.ebscohost.com/discovery/api
• http://api.summon.serialssolutions.com/
• http://vufind.org/features.php
• http://dev.springer.com/
• http://ieeexplore.ieee.org/gateway/
• http://www.developers.elsevier.com/devcms/scopusintegration
• http://journals.cambridge.org/action/stream?pageId=9048&level=2
• http://www.factiva.com/CP_Developer/ProductHelp/FDK/FDK20/fdk_overvie
w/index.htm

Weitere ähnliche Inhalte

Was ist angesagt?

Finding Love with MongoDB
Finding Love with MongoDBFinding Love with MongoDB
Finding Love with MongoDB
MongoDB
 

Was ist angesagt? (18)

South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
South JVM Users Group Talk - Building Social Media Tools using JVM Supported ...
 
W3C Web Annotation WG Update (I Annotate 2016)
W3C Web Annotation WG Update (I Annotate 2016)W3C Web Annotation WG Update (I Annotate 2016)
W3C Web Annotation WG Update (I Annotate 2016)
 
Introduction to Azure Search
Introduction to Azure SearchIntroduction to Azure Search
Introduction to Azure Search
 
Adding azuresearch
Adding azuresearchAdding azuresearch
Adding azuresearch
 
Deep-Dive to Azure Search
Deep-Dive to Azure SearchDeep-Dive to Azure Search
Deep-Dive to Azure Search
 
Gab2015 azure search as a service
Gab2015 azure search as a serviceGab2015 azure search as a service
Gab2015 azure search as a service
 
Federated Search: Growing Your Own Tools (OPLIN)
Federated Search: Growing Your Own Tools (OPLIN)Federated Search: Growing Your Own Tools (OPLIN)
Federated Search: Growing Your Own Tools (OPLIN)
 
Riding the Semantic Web
Riding the Semantic WebRiding the Semantic Web
Riding the Semantic Web
 
DSpace: State of the art
DSpace: State of the artDSpace: State of the art
DSpace: State of the art
 
Mashups for Course Websites with Yahoo! Pipes
Mashups for Course Websites with Yahoo! PipesMashups for Course Websites with Yahoo! Pipes
Mashups for Course Websites with Yahoo! Pipes
 
Webinar: Event Processing & Data Analytics with Lucidworks Fusion
Webinar: Event Processing & Data Analytics with Lucidworks FusionWebinar: Event Processing & Data Analytics with Lucidworks Fusion
Webinar: Event Processing & Data Analytics with Lucidworks Fusion
 
Webcrawler
WebcrawlerWebcrawler
Webcrawler
 
Azure search
Azure searchAzure search
Azure search
 
CEK KEMIRIPAN PADA CROSSREF
CEK KEMIRIPAN PADA CROSSREFCEK KEMIRIPAN PADA CROSSREF
CEK KEMIRIPAN PADA CROSSREF
 
Finding Love with MongoDB
Finding Love with MongoDBFinding Love with MongoDB
Finding Love with MongoDB
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
Content Strategy for WordPress: Case Study
Content Strategy for WordPress: Case StudyContent Strategy for WordPress: Case Study
Content Strategy for WordPress: Case Study
 
React & GraphQL
React & GraphQLReact & GraphQL
React & GraphQL
 

Ähnlich wie Harnessing Free Content with Web Service APIs

Doing More with Less: Mash Your Way to Productivity
Doing More with Less: Mash Your Way to ProductivityDoing More with Less: Mash Your Way to Productivity
Doing More with Less: Mash Your Way to Productivity
kevinreiss
 

Ähnlich wie Harnessing Free Content with Web Service APIs (20)

Building APIs in an easy way using API Platform
Building APIs in an easy way using API PlatformBuilding APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
 
Library Mashups: What's New
Library Mashups: What's NewLibrary Mashups: What's New
Library Mashups: What's New
 
Library Mashups: What's New
Library Mashups: What's NewLibrary Mashups: What's New
Library Mashups: What's New
 
apidays LIVE LONDON - OpenAPI-driven API development lifecycle at Adyen by Al...
apidays LIVE LONDON - OpenAPI-driven API development lifecycle at Adyen by Al...apidays LIVE LONDON - OpenAPI-driven API development lifecycle at Adyen by Al...
apidays LIVE LONDON - OpenAPI-driven API development lifecycle at Adyen by Al...
 
Building Software Backend (Web API)
Building Software Backend (Web API)Building Software Backend (Web API)
Building Software Backend (Web API)
 
Microservices and the Art of Taming the Dependency Hell Monster
Microservices and the Art of Taming the Dependency Hell MonsterMicroservices and the Art of Taming the Dependency Hell Monster
Microservices and the Art of Taming the Dependency Hell Monster
 
The WorldCat Search API
The WorldCat Search APIThe WorldCat Search API
The WorldCat Search API
 
Digital Publishing with the OSCI Toolkit - Workshop MCN 2012
Digital Publishing with the OSCI Toolkit - Workshop MCN 2012Digital Publishing with the OSCI Toolkit - Workshop MCN 2012
Digital Publishing with the OSCI Toolkit - Workshop MCN 2012
 
Worldcat (and other) APIs
Worldcat (and other) APIsWorldcat (and other) APIs
Worldcat (and other) APIs
 
General introduction to APIs
General introduction to APIsGeneral introduction to APIs
General introduction to APIs
 
Introduction to APIs
Introduction to APIsIntroduction to APIs
Introduction to APIs
 
ValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIsValoBox - Targeting Customers with APIs
ValoBox - Targeting Customers with APIs
 
Drupal and Apache Stanbol
Drupal and Apache StanbolDrupal and Apache Stanbol
Drupal and Apache Stanbol
 
API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0API Docs with OpenAPI 3.0
API Docs with OpenAPI 3.0
 
Library hacks
Library hacksLibrary hacks
Library hacks
 
Widget Workshop
Widget WorkshopWidget Workshop
Widget Workshop
 
Emerging technologies in academic libraries
Emerging technologies in academic librariesEmerging technologies in academic libraries
Emerging technologies in academic libraries
 
Doing More with Less: Mash Your Way to Productivity
Doing More with Less: Mash Your Way to ProductivityDoing More with Less: Mash Your Way to Productivity
Doing More with Less: Mash Your Way to Productivity
 
Doing More with Less: Mash Your Way to Productivity
Doing More with Less: Mash Your Way to ProductivityDoing More with Less: Mash Your Way to Productivity
Doing More with Less: Mash Your Way to Productivity
 
AtlasCamp2014: Introducing the Confluence REST API
AtlasCamp2014: Introducing the Confluence REST APIAtlasCamp2014: Introducing the Confluence REST API
AtlasCamp2014: Introducing the Confluence REST API
 

Mehr von ALATechSource

Mehr von ALATechSource (20)

Liven Up Baby and Toddler Storytimes with Sign Language (March 2019)
Liven Up Baby and Toddler Storytimes with Sign Language (March 2019)Liven Up Baby and Toddler Storytimes with Sign Language (March 2019)
Liven Up Baby and Toddler Storytimes with Sign Language (March 2019)
 
Dealing with Mental Health on the Front Lines: Part 1
Dealing with Mental Health on the Front Lines: Part 1Dealing with Mental Health on the Front Lines: Part 1
Dealing with Mental Health on the Front Lines: Part 1
 
Serving Children with Autism Spectrum Disorder: Part 2 (Feb. 2019)
Serving Children with Autism Spectrum Disorder: Part 2 (Feb. 2019)Serving Children with Autism Spectrum Disorder: Part 2 (Feb. 2019)
Serving Children with Autism Spectrum Disorder: Part 2 (Feb. 2019)
 
Using Visual Arts in Early Childhood Programming
Using Visual Arts in Early Childhood ProgrammingUsing Visual Arts in Early Childhood Programming
Using Visual Arts in Early Childhood Programming
 
Serving Children with Autism Spectrum Disorder (Feb. 2019)
Serving Children with Autism Spectrum Disorder (Feb. 2019)Serving Children with Autism Spectrum Disorder (Feb. 2019)
Serving Children with Autism Spectrum Disorder (Feb. 2019)
 
Library Website Rehab: Promotional Webinar
Library Website Rehab: Promotional WebinarLibrary Website Rehab: Promotional Webinar
Library Website Rehab: Promotional Webinar
 
Taking STEAM Programs to the Next Level
Taking STEAM Programs to the Next LevelTaking STEAM Programs to the Next Level
Taking STEAM Programs to the Next Level
 
Creating a Digital Media Space for Today's Teens: Part 2 (Jan. 2019)
Creating a Digital Media Space for Today's Teens: Part 2 (Jan. 2019)Creating a Digital Media Space for Today's Teens: Part 2 (Jan. 2019)
Creating a Digital Media Space for Today's Teens: Part 2 (Jan. 2019)
 
Creating a Social Media Policy for Your Library (January 2019)
Creating a Social Media Policy for Your Library (January 2019)Creating a Social Media Policy for Your Library (January 2019)
Creating a Social Media Policy for Your Library (January 2019)
 
Creating a Digital Media Space for Today's Teens: Part 1 (Jan. 2019)
Creating a Digital Media Space for Today's Teens: Part 1 (Jan. 2019)Creating a Digital Media Space for Today's Teens: Part 1 (Jan. 2019)
Creating a Digital Media Space for Today's Teens: Part 1 (Jan. 2019)
 
Working with Individuals Affected by Homelessness: An Empathy-Driven Approach...
Working with Individuals Affected by Homelessness: An Empathy-Driven Approach...Working with Individuals Affected by Homelessness: An Empathy-Driven Approach...
Working with Individuals Affected by Homelessness: An Empathy-Driven Approach...
 
Fake News, Real Concerns: Developing Information-Literate Students (December ...
Fake News, Real Concerns: Developing Information-Literate Students (December ...Fake News, Real Concerns: Developing Information-Literate Students (December ...
Fake News, Real Concerns: Developing Information-Literate Students (December ...
 
Offering Service and Support to the LGBTQIA Community and Allies (Nov. 2018)
Offering Service and Support to the LGBTQIA Community and Allies (Nov. 2018)Offering Service and Support to the LGBTQIA Community and Allies (Nov. 2018)
Offering Service and Support to the LGBTQIA Community and Allies (Nov. 2018)
 
Library Director Bootcamp: Getting the Skills You Need, Part 3 (Nov. 2018)
Library Director Bootcamp: Getting the Skills You Need, Part 3 (Nov. 2018)Library Director Bootcamp: Getting the Skills You Need, Part 3 (Nov. 2018)
Library Director Bootcamp: Getting the Skills You Need, Part 3 (Nov. 2018)
 
Engaging Learners through Active Instruction and Assessment
Engaging Learners through Active Instruction and AssessmentEngaging Learners through Active Instruction and Assessment
Engaging Learners through Active Instruction and Assessment
 
Library Director Bootcamp: Getting the Skills You Need, Part 2 (Nov. 2018)
Library Director Bootcamp: Getting the Skills You Need, Part 2 (Nov. 2018)Library Director Bootcamp: Getting the Skills You Need, Part 2 (Nov. 2018)
Library Director Bootcamp: Getting the Skills You Need, Part 2 (Nov. 2018)
 
AL Live: What Do the Midterms Mean for Your Library? (November 2018)
AL Live: What Do the Midterms Mean for Your Library? (November 2018)AL Live: What Do the Midterms Mean for Your Library? (November 2018)
AL Live: What Do the Midterms Mean for Your Library? (November 2018)
 
Library Director Bootcamp: Getting the Skills You Need, Part 1 (Nov. 2018)
Library Director Bootcamp: Getting the Skills You Need, Part 1 (Nov. 2018)Library Director Bootcamp: Getting the Skills You Need, Part 1 (Nov. 2018)
Library Director Bootcamp: Getting the Skills You Need, Part 1 (Nov. 2018)
 
Prepare for the Future: Tech Strategies You Need to Know (November 2018)
Prepare for the Future: Tech Strategies You Need to Know (November 2018)Prepare for the Future: Tech Strategies You Need to Know (November 2018)
Prepare for the Future: Tech Strategies You Need to Know (November 2018)
 
Write and Cite “Chicago Style”: Helping Students and Patrons Understand The C...
Write and Cite “Chicago Style”: Helping Students and Patrons Understand The C...Write and Cite “Chicago Style”: Helping Students and Patrons Understand The C...
Write and Cite “Chicago Style”: Helping Students and Patrons Understand The C...
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Harnessing Free Content with Web Service APIs

  • 1. print $title; print $subtitle; print $author; print $position; print $institution; $title = “harnessing free content with web service apis”; $subtitle = “an ala editions workshop”; $author = “jason paul michel”; $position = “user experience librarian”; $institution = “miami university libraries”;
  • 2. agenda • Discuss open web ecosystem • Place of APIs in that ecosystem • What is exactly is an API? • An example from the programmer’s perspective • Real World examples • Slice of available APIs • What is needed for development • Where to find and keep up with information
  • 3. the “open” web ecosystem • social web services are not social merely because of the interactions between users they facilitate. • social web services are social because they also are able to talk to one another on a programmatic level.
  • 4. the “open” web ecosystem • thus, If This Then That (ifttt.com)
  • 5. the “open” web ecosystem • thus,
  • 6. the “open” web ecosystem • Achieved largely through the use of APIs • API = Application Programming Interface • Method of data transfer via HTTP
  • 7. neighbor’s garage analogy Open Source: take whatever you want, modify however you want, use however you want Proprietary: pay for each tool in the garage, use them as designed API: utilize the services of the garage, if you have authorization and ask the right way
  • 8. Why APIs? • Increase visibility of data / service • Take advantage of the crowdsourcing model to improve service, e.g. Tweetdeck • From libraries’ perspective: its important to integrate with wider web environment
  • 9. Typical API Process • Request API Key from Service • Choose scripting language: PHP, Ruby on Rails etc. • Using chosen language, submit data request via available API methods • Ingest that data in JSON, XML or other data type • Transform the data to make it usable with scripting language • Upload data to a database • Wrap data in HTML, CSS for user interface
  • 10. api request example https://api.twitter.com/1.1/search/tweet.json?q=book%20OR%20research Base url Each Web Service typically has several base urls depending on the type of information you are seeking and each resource type has its own set of parameters, e.g.: https://api.twitter.com/1.1/followers/ids, https://api.twitter.com/1.1/friendships/lookup Data type Parameters
  • 11. api request example [statuses] => Array ( [0] => stdClass Object ( [metadata] => stdClass Object ( [result_type] => recent [iso_language_code] => en ) [created_at] => Sat Jul 20 16:25:22 +0000 2013 [id] => 3.58623679498E+17 [id_str] => 358623679497777153 [text] => This book just got too good! She said yes!! 👏 👏 #christiangrey [source] => Twitter for iPhone [truncated] => [in_reply_to_status_id] => [in_reply_to_status_id_str] => [in_reply_to_user_id] => [in_reply_to_user_id_str] => [in_reply_to_screen_name] => [user] => stdClass Object ( [id] => 307066025 [id_str] => 307066025 [name] => Alicia Reece [screen_name] => aaliciaaaajo [location] => etc…..
  • 12. api request example • At this point you can send the data received to a database or create a dynamic web application on top of the live data.
  • 13. try it • https://graph.facebook.com/username or • https://graph.facebook.com/pageid
  • 14.
  • 15.
  • 17. twitter • Programmatically capture, store & display potentially relevant tweets in specific geolocation to serve as a springboard for proactive info services and social interaction. https://api.twitter.com/1.1/search/tweet.json?q=book%20OR%20research&geocode=39.5069974,-8 working examples
  • 18.
  • 19. vimeo • Upload video tutorials to Vimeo • Utilizing API, bring your own video tutorials in to your own web interface. http://vimeo.com/api/v2/miamiulibraries/videos.json working examples
  • 21. instagram • Create a patron-generated gallery of instagram images based on a pre-determined hashtag or keyword https://api.instagram.com/v1/tags/miamioh/media/recent working examples
  • 24. movieDB • Utilizing the movieDB API, create a Netflix- style application with available Movie posters http://themoviedb.apiary.io/3/search/movie working examples
  • 26. worldcat • Utilizing OCLC’s WorldCat Basic API, pull in citation information for catalog records. http://www.worldcat.org/webservices/catalog/content/citations/isbn/1250012570?cfor mat=turabian&wskey=key working examples
  • 28. goodreads • Utilizing goodreads API, enhance catalog records with goodreads reviews. http://www.goodreads.com/book/show?format=json&key=key&id=bookid working examples
  • 30. openlibrary/hathi/google books • You don’t need to limit your catalog to what you own / subscribe to… • There are web services out there with open content that your catalog can tap in to. http://openlibrary.org/api/books?bibkeys=OCLC:4942988&jscmd=data&format=json http://catalog.hathitrust.org/api/volumes/full/oclc/381593.json working examples
  • 32.
  • 33.
  • 34. openlibrary • Enhance catalog with book covers. http://covers.openlibrary.org/b/olid/OL7440033M-S.jpg http://covers.openlibrary.org/b/$key/$value-$size.jpg working examples
  • 35. flickr • Bulk uploading images and metadata from repositories to flickr for wider audience • Embedding flickr slideshows of own imagery stored in flickr • Bringing in safe flickr content from current events / subjects working examples
  • 39. evernote & dropbox • Export catalog records / lists of catalog records out to Evernote/Dropbox • Export articles to Evernote/Dropbox Possible API Usages Catalog Enhancements
  • 40. rotten tomatoes • Enhance movie records with Rotten Tomatoes reviews • Retrieve cast, directors and movie posters Possible API Usages Catalog Enhancements
  • 41. ny times bestseller • Get links to reviews of NY Times Bestsellers • Get current NY Times Bestseller Lists and link to catalog records if available.. Possible API Usages Catalog Enhancements
  • 42. DPLA • Enhancing catalog records with DPLA content • DPLA content includes images, text, video and sound • “an open, distributed network of comprehensive online resources that would draw on the nation’s living heritage from libraries, universities, archives, and museums in order to educate, inform, and empower everyone in current and future generations.” Possible API Usages Catalog Enhancements
  • 43. hoover’s • Get Company data to match potential company queries in catalog Possible API Usages Catalog Enhancements
  • 44. cambridge dictionaries online/oed • Get definitions as an additional piece of content in catalog search Possible API Usages Catalog Enhancements
  • 45. mendeley • export citation data from catalog Possible API Usages Catalog Enhancements
  • 46. OA APIs • CORE Project – Open University • ArXiv • Hathi • Open Library Possible API Usages Catalog Enhancements
  • 48. ILS & Discovery Layer APIs • ILSs and Discover Layers are increasingly adding APIs… • Ebsco EDS • Summon • VUFind • Koha • These APIs allow developers to create their own interfaces.. Possible API Usages Single Interface
  • 49. Publisher APIs • IEEE Xplore • Springer • Elsevier: SciVerse (Scopus, ScienceDirect, SciVerse Hub) • Cambridge Journals • Cambridge Dictionaries • And more…. Possible API Usages Single Interface
  • 50. Vendor APIs • Factiva – integrate all of factiva’s content • Hoover’s – integrate company information • And more… Possible API Usages Single Interface
  • 51. OA APIs • CORE Project – Open University • arXiv • Open Library • Hathi Trust Possible API Usages Single User Interface
  • 52. API Development : what is needed? • Programming expertise: PHP, Ruby, Python, Javascript, XML, JSON, SQL, HTML, CSS • Invest subject librarians in the process: what APIs are available per discipline, which offers value? • Usability assessment • Development tools: programming software and hardware
  • 53. Further resources • Programmable Web • Zite(app): APIs • Web Service APIs and Libraries, ALA Editions • eCourse in October • Twitter: @kinlane, @hackernews
  • 54. thank you! • micheljp@miamioh.edu • @jpmichel • gplus.to/jpmichel (G+)
  • 55. References • http://ifttt.com • https://dev.twitter.com/ • https://developers.facebook.com/docs/reference/api/ • https://developer.vimeo.com/ • http://instagram.com/developer/ • http://www.themoviedb.org/ • http://oclc.org/developer/documentation/worldcat-basic-api/using-api • http://www.goodreads.com/api • http://openlibrary.org/developers/api • http://www.hathitrust.org/data_api • http://www.flickr.com/services/api/ • http://dev.evernote.com/ • https://www.dropbox.com/developers • http://developer.rottentomatoes.com/ • http://developer.nytimes.com/docs
  • 56. References • http://dp.la/info/developers/codex/ • http://developer.hoovers.com/ • http://core.kmi.open.ac.uk/intro/api • http://arxiv.org/help/api/index • http://dictionary-api.cambridge.org/ • http://public.oed.com/subscriber-services/sru-service/ • http://dev.mendeley.com/ • https://www.ebscohost.com/discovery/api • http://api.summon.serialssolutions.com/ • http://vufind.org/features.php • http://dev.springer.com/ • http://ieeexplore.ieee.org/gateway/ • http://www.developers.elsevier.com/devcms/scopusintegration • http://journals.cambridge.org/action/stream?pageId=9048&level=2 • http://www.factiva.com/CP_Developer/ProductHelp/FDK/FDK20/fdk_overvie w/index.htm

Hinweis der Redaktion

  1. Go to web page if possible to show….