(h)appiness is a warm api!
DESCRIPTION
The presentation discusses how Application Programming Interfaces (APIs) were used to help develop MyReading, the reading list software used by the University of Huddersfield.TRANSCRIPT
![Page 1: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/1.jpg)
Dave PatternLibrary Systems Manager
University of [email protected]
http://daveyp.com/blog/
(H)appiness is a warm API!Using APIs to develop new library services
![Page 2: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/2.jpg)
• An Application Programming Interface allows separate pieces of software to communicate with each other, typically to share content
• A web-based API is usually called a “Web Service” and often uses XML or JSON (JavaScript Object Notation)
What is an API?
![Page 3: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/3.jpg)
• Convert a 10 digit ISBN to 13 digits• Convert a 13 digit ISBN to 10 digits• Fix an incorrect ISBN checksum• Fetch basic metadata• Fetch details of other
editions of a book – e.g.
An example: OCLC’s xISBN
![Page 4: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/4.jpg)
4
184428512X (2005) http://xisbn.worldcat.org/webservices/xid/isbn/184428512X?fl=year,lang
![Page 5: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/5.jpg)
[5]
MyReadingreading list project at Huddersfield
• A reading list is a list of books, journal articles, etc for each module on an academic course
• Only 1 developer, working 1.5 days a week• Just 10 months to deliver a working product• Lots of technical challenges ... especially with
getting data into the system!
![Page 6: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/6.jpg)
How can we make iteasy for academics toadd books from the library catalogue?
![Page 7: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/7.jpg)
7
![Page 8: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/8.jpg)
8
Title Amino acid and peptidesynthesis
Author Jones, John
Date 2002
Edition 2nd
Series Oxford chemistry primers
ISBN 0199257388
![Page 9: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/9.jpg)
9
![Page 10: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/10.jpg)
How can we make iteasy for academics to
add journal articlesto their reading lists?
![Page 11: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/11.jpg)
11
![Page 12: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/12.jpg)
12
Title Amino acid containinganion receptors
Author Kubik, Stefan
Journal Chemical Society reviews
ISSN 0306-0012
Page 585
Date February 2009
![Page 13: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/13.jpg)
13
![Page 14: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/14.jpg)
How do we ensure journal article links
will continue to work, even if we change to
a new platform?
![Page 15: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/15.jpg)
15
![Page 16: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/16.jpg)
16
the link resolver’sAPI returns the
current access links
![Page 17: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/17.jpg)
If an academic has added an older
edition, how do we let students know about
the latest edition?
![Page 18: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/18.jpg)
18
![Page 19: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/19.jpg)
19
![Page 20: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/20.jpg)
20
Title Amino acid and peptidesynthesis (1992)
ISBN 0198556683
xISBN 2nd editionpublished in 20020199257388 (pbk)
![Page 21: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/21.jpg)
21
academic added the 1996 edition
student can see we have a newer
edition from 2005
![Page 22: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/22.jpg)
If a student has to buy a book for the course, can we provide them with purchase links?
![Page 23: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/23.jpg)
23
![Page 24: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/24.jpg)
24
![Page 25: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/25.jpg)
25
student can see the current book price
at various web sites
![Page 26: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/26.jpg)
• APIs allow developers to enrich existing library services and to rapidly develop new ones
• APIs allow you to “glue” together different services and products, and this then allows data to flow automatically
Summary
![Page 27: (H)appiness is a warm API!](https://reader036.vdocuments.us/reader036/viewer/2022081413/546d1998af7959ea368b73b7/html5/thumbnails/27.jpg)
• When purchasing new software, remember to ask the vendor...– does it have an fully-featured API?– is the documentation publicly available?– what have other libraries developed using
your API?
Summary