valobox - targeting customers with apis

54
Targeting customers with APIs Adam Duvander @adamd Anna Lewis @anna_cn Oliver Brooks @cn_oli

Upload: valobox

Post on 19-Jan-2015

129 views

Category:

Technology


0 download

DESCRIPTION

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.

TRANSCRIPT

Page 1: ValoBox - Targeting Customers with APIs

Targeting customers with

APIs

Adam Duvander @adamd Anna Lewis @anna_cn Oliver Brooks @cn_oli

Page 2: ValoBox - Targeting Customers with APIs

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

Page 3: ValoBox - Targeting Customers with APIs

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

Page 4: ValoBox - Targeting Customers with APIs

What is an API? Session 1

Page 5: ValoBox - Targeting Customers with APIs

What is an API?

Application Programming Interface

Page 6: ValoBox - Targeting Customers with APIs

What is an API?

A conversation between machines

Page 7: ValoBox - Targeting Customers with APIs

What is an API?

Humans are smart

Interpret messages

Fill in the blanks

Filter noise

http://www.picstopin.com

Page 8: ValoBox - Targeting Customers with APIs

What is an API?

Machines are dumb

Missing data = error

Unclear instruction = error

Unexpected response = error

http://nerdywithchildren.com/

Page 9: ValoBox - Targeting Customers with APIs

What does an API look like?

Information or action accessed via a URI

Converse using simple, structured data

Communication between cloud services

Page 10: ValoBox - Targeting Customers with APIs

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.

Page 11: ValoBox - Targeting Customers with APIs

What does an API look like?

Human - Machine

Page 12: ValoBox - Targeting Customers with APIs

What does an API look like? Machine - Machine GET http://valobox.com/streams/565

Page 13: ValoBox - Targeting Customers with APIs

Example: Amazon product API

Free product data

Link to purchase

Used by every social book site

Page 14: ValoBox - Targeting Customers with APIs

Example: Amazon product API

Page 15: ValoBox - Targeting Customers with APIs

Example: Foursquare

Server

locations: [ { id: 5892, name: "12 Apostels", lat: xxxx, lon: yyyy, image: "http://images.foursquare.com/452342.jpg } ]

GET: https://api.foursquare.com/v2/venues/explore?near=berlin

Page 16: ValoBox - Targeting Customers with APIs

Interactive

1. Open chrome/firefox browser

2. Enter URL

valobox.com/tornado/v1/streams/565

3. View JSON data

4. Can you find the title?

Page 17: ValoBox - Targeting Customers with APIs

Interactive

Page 18: ValoBox - Targeting Customers with APIs

Interactive

Page 19: ValoBox - Targeting Customers with APIs

IFTTT Recipes

Page 20: ValoBox - Targeting Customers with APIs

Productivity through APIs Session 2

Page 21: ValoBox - Targeting Customers with APIs

Productivity through APIs

Machines:

•  Love repetition

•  Are very fast

•  Don't make mistakes

Page 22: ValoBox - Targeting Customers with APIs

Importance of housekeeping

But machines:

•  can only follow

instructions

•  can only complete a task

if they have all the data

Page 23: ValoBox - Targeting Customers with APIs

Case study: CompletelyNovel

Publishing platform for self and small publishers

Automated •  book production •  printing •  order management •  royalty management •  ...

Page 24: ValoBox - Targeting Customers with APIs

Case study: CompletelyNovel

Some APIs in use:

•  'Print-talk' printer communication

•  Barcode generation

•  Paypal checkout

•  File conversion system

•  Amazon Product Advertising

•  ...

Page 25: ValoBox - Targeting Customers with APIs

Case study: CompletelyNovel

Result

70k users

12k Titles

2-5k orders / month

14hrs / week staff overhead

Page 26: ValoBox - Targeting Customers with APIs

Preparing for APIs

Ensure data is:

•  complet

•  accurete

•  exportable •  avoid duplication

•  in a common standard

•  avoid duplication

Page 27: ValoBox - Targeting Customers with APIs

Preparing for APIs

Map your processes

Identify:

•  repetitive tasks

•  tasks requiring no intuition

•  time-intensive tasks

•  which people/processes

need the information

Page 28: ValoBox - Targeting Customers with APIs

Implementing APIs

Developing in-house vs. use services

•  What/who is it for?

•  Do you have in-house skills?

•  Who will maintain and develop it?

Page 29: ValoBox - Targeting Customers with APIs

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

Page 30: ValoBox - Targeting Customers with APIs

Implementing APIs

Common places publishers use APIs:

•  File-sharing/management

•  Sharing metadata with third parties

•  Printing from internal systems

•  Working with startups

Page 31: ValoBox - Targeting Customers with APIs

API tips

Super simple

Break up processes into parts

Think hard about different ways of solving the

problem before choosing one

Write good documentation

Page 32: ValoBox - Targeting Customers with APIs

API tips

Advertise your APIs

•  Internally

•  Externally

Page 33: ValoBox - Targeting Customers with APIs

Interactive

Do you have a process you think could benefit

from an API?

Ask us about implementing APIs

What barriers do you encounter?

Page 34: ValoBox - Targeting Customers with APIs

Public APIs Session 3

Page 35: ValoBox - Targeting Customers with APIs

Web-friendly Books

Page 36: ValoBox - Targeting Customers with APIs

Launched October 2012

Page 37: ValoBox - Targeting Customers with APIs

How do you sell to people who aren't looking for books?

Page 38: ValoBox - Targeting Customers with APIs

“business books” 201 thousand

“how to start a business” 1.5 million

Global Monthly Searches:

Web-friendly = bigger audience

Page 39: ValoBox - Targeting Customers with APIs

Make your content

a part of the web

Page 40: ValoBox - Targeting Customers with APIs

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]

Page 41: ValoBox - Targeting Customers with APIs

Full text search

Cloud-based storage

Web-friendly purchasing •  Login with Facebook/Twitter •  Preview pages from anywhere •  Buy by the chapter •  Pre-pay system

Make it quicker, easier, cheaper

Page 42: ValoBox - Targeting Customers with APIs
Page 43: ValoBox - Targeting Customers with APIs

Share and embed on social networks

Page 44: ValoBox - Targeting Customers with APIs

Marketing: 25%

Publisher: 60%

Business model: Revenue share

ValoBox: 15%

Create a million book stores by empowering others to sell your book

Page 45: ValoBox - Targeting Customers with APIs

APIs inside ValoBox

The 'company' structure:

•  User management

•  eBook Production

•  Accounting

•  Distribution

Page 46: ValoBox - Targeting Customers with APIs

APIs inside ValoBox

Reading app

User Management

Book Production

Accounting

Distribution

Server Customer

Page 47: ValoBox - Targeting Customers with APIs

Metadata API

What books are available?

Search for books

Get more details about a book

Get book images

Get links and embed codes

Page 48: ValoBox - Targeting Customers with APIs

Metadata API

Create your own

•  bookshops

•  information services

http://api_demo.valobox.com/books

Page 49: ValoBox - Targeting Customers with APIs

Reader API

Embed books within a context

Control reader from parent page

Control parent page from reader

Page 50: ValoBox - Targeting Customers with APIs

Reader API

Create your own:

•  Reading experience

•  Mashups

http://api_demo.valobox.com/books/show/2125

Page 51: ValoBox - Targeting Customers with APIs

Social sharing

One click sharing

One click access

Target specific pages

Page 52: ValoBox - Targeting Customers with APIs

Search API

Google search API so specific (paid) content can be found via search engines

Page 53: ValoBox - Targeting Customers with APIs

Find out more

www.valobox.com/api

Page 54: ValoBox - Targeting Customers with APIs

Questions

Specific use cases - ask us about APIs

Questions about ValoBox?

Adam Duvander @adamd Anna Lewis @anna_cn Oliver Brooks @cn_oli