This presentation accompanied a workshop at the Klopotek Publishers' Forum in Berlin, 2013.
APIs offer huge opportunities to grow your customer base, engage your readers and increase the efficiency of your business. In this workshop, we show how APIs can be applied to publishing, using ValoBox as one of the examples. We'll take you through many options, from using APIs within the internal production process to providing individuals and companies with access to your metadata and content.
2. Workshop overview
Session 1
Talk: What is an API?
Interact: Try an API
Session 2
Talk: Productivity through APIs
Interact: Ask about specific use cases
Session 3
Talk: How ValoBox use APIs to distribute books
Interact: Q&A
3. Workshop format
Ask questions. You get out what you put in.
You are probably not alone - if in doubt, ask!
Aim for a solid understanding of APIs
5. What is an API?
Application Programming Interface
6. What is an API?
A conversation between machines
7. What is an API?
Humans are smart
Interpret messages
Fill in the blanks
Filter noise
http://www.picstopin.com
8. What is an API?
Machines are dumb
Missing data = error
Unclear instruction = error
Unexpected response = error
http://nerdywithchildren.com/
9. What does an API look like?
Information or action accessed via a URI
Converse using simple, structured data
Communication between cloud services
10. What does an API look like
Human - Human
Q) Can you give me the details about A futurist
manifesto'?
A) Sure, its ISBN is 9781449305598 and it was
published by O'Reilly media. It was written by
Brian O'Leary and Hugh Mcguire.
22. Importance of housekeeping
But machines:
• can only follow
instructions
• can only complete a task
if they have all the data
23. Case study: CompletelyNovel
Publishing platform for self and small
publishers
Automated
• book production
• printing
• order management
• royalty management
• ...
24. Case study: CompletelyNovel
Some APIs in use:
• 'Print-talk' printer communication
• Barcode generation
• Paypal checkout
• File conversion system
• Amazon Product Advertising
• ...
26. Preparing for APIs
Ensure data is:
• complet
• accurete
• exportable
• avoid duplication
• in a common standard
• avoid duplication
27. Preparing for APIs
Map your processes
Identify:
• repetitive tasks
• tasks requiring no intuition
• time-intensive tasks
• which people/processes
need the information
29. Implementing APIs
Support existing standards
• http://openlibrary.org - catalogue of books
(free to add to)
• http://opds-spec.org/ - format for transfering
book data and catalogues
• http://www.editeur.org/83/Overview/ - ONIX
data format
30. Implementing APIs
Common places publishers use APIs:
• File-sharing/management
• Sharing metadata with third parties
• Printing from internal systems
• Working with startups
31. API tips
Super simple
Break up processes into parts
Think hard about different ways of solving the
problem before choosing one
Write good documentation
40. ValoBox offers a viable solution
Takes advantage of the web’s ubiquity,
speed and flexibility
Preserves value of books
Works for customers AND publishers
[Image: screenshot]
41. Make it quicker, easier, cheaper
Full text search
Cloud-based storage
Web-friendly purchasing
• Login with Facebook/Twitter
• Preview pages from anywhere
• Buy by the chapter
• Pre-pay system