Creating Public Facing API's - PowerPoint PPT Presentation

About This Presentation
Title:

Creating Public Facing API's

Description:

www.cfunited.com. API's - The basics. Application Programming Interface. 2 types of API's: ... Flickr. http://www.flickr.com/services/api/ 8. www.cfunited.com ... – PowerPoint PPT presentation

Number of Views:17
Avg rating:3.0/5.0
Slides: 12
Provided by: Liz273
Category:
Tags: api | code | com | creating | facebook | facing | flickr | free | google | how | php | public | to | twitter | www

less

Transcript and Presenter's Notes

Title: Creating Public Facing API's


1
Creating Public Facing API's
  • Simon Free
  • _at_simonfree

www.cfunited.com
2
What to expect
  1. APIs - The Basics
  2. Possible Problems
  3. Documentation
  4. REST vs RPC
  5. Example APIs
  6. Development Process
  7. Creating an API

www.cfunited.com
3
APIs - The basics
  • Application Programming Interface
  • 2 types of APIs
  • RESTful
  • RPC
  • Offers ability to share data and functionality
  • Centralize functionality

www.cfunited.com
3
4
Possible Problems
  1. Poor planning can cause poor usability
  2. Needs to be accessible across multiple languages
  3. Variable scopes may not exist / be accurate
  4. Documentation needs to be extensive
  5. Security can be tested/attacked

www.cfunited.com
4
5
The BIGGEST security threat to your API!!!
www.cfunited.com
6
Documentation
  • Description
  • Parameters
  • Required
  • Name
  • Type
  • Description
  • Example Call
  • Example Response
  • Error Code

www.cfunited.com
6
7
Example APIs
  • Twitter
  • http//apiwiki.twitter.com/
  • Facebook
  • http//wiki.developers.facebook.com/index.php/API
  • Google
  • http//code.google.com/ (Link on the left)
  • OpenOffice.org
  • http//api.openoffice.org/
  • Digg
  • http//api.openoffice.org/
  • Flickr
  • http//www.flickr.com/services/api/

www.cfunited.com
8
Development process of an API (Ideally)
www.cfunited.com
9
Creating a REST-ful-ish API
  • URL Parsing
  • Request Type Parsing
  • Xml Responses
  • Requires Authentication
  • Error Handling

www.cfunited.com
9
10
Resources
  • InfoQ Article - REST Introduction
  • http//www.infoq.com/articles/rest-introduction
  • REST Services Viewer
  • http//code.google.com/p/http4e/

www.cfunited.com
10
11
Thats all folks
Questions / Comments? Simon_at_simonfree.com Slides
will be available at http//www.simonfree.com/pre
sentations/ Follow me on twitter http//www.twit
ter.com/simonfree
www.cfunited.com
Write a Comment
User Comments (0)
About PowerShow.com