Application Programming Interfaces (APIs)

Application programming interfaces (APIs) are sets of instructions that describe the method in which a particular task is to be performed. A good example of an API in action is when you log in to Instagram with your Twitter account, post a photo to Facebook from your phone or get information about when and where a movie is playing through a mobile app on your phone.

A simple API that I built (theoretically) in mashape to retrieve info about a film playing at SIFF reads as follows:

Film Screening Event: get information about a single film event

Method: GET

Route: http://siff.p.mashape.com/films/{id}.json

Response: JSON

In addition to simple GET commands (read only), there are also GET & PUSH (read and write) and PUSH (write only) commands. Most typically, APIs are used with web services and tools, usually for Web 2.0 and social connectivity tasks.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: