Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to get started with APIs [closed]

Tags:

api

I have never worked with APIs before (and have very little programming experience outside of HTML and CSS) and I am struggling to find any clear tutorials or explanations.

Do APIs all work in the same way? Can you use any programming language or only a specific language or does that depend on the API? Is there a common way to work with some of the major APIs? Do you know of any really basic API tutorials or do you really need to be au fait with particular coding languages before you start down that road?

There is no specific API that I "need" to work on but I would be interested to have a play with services such as Twitter, Flickr, Google Maps, Facebook, Last.fm, etc. if it's accessible.

Any advice would be much appreciated thanks,

Luke

like image 210
Luke Avatar asked Jan 10 '09 01:01

Luke


2 Answers

An API is an Application Programming Interface. This is really a generic term for a lot of different sort of things. I'm assuming you mean "Web APIs" which are usually RESTful or SOAP based. The sort of API that is used really differs from one service to another. Some have multiple ways of working with the API, like Amazon has REST based and SOAP based services.

The best way to get started if you are doing this from the client side, is to really start learning Javascript and then learn JQuery. Then from there choose a service you'd like to program to. You could learn a lot of Javascript by coding for the Google Maps API. This is probably the best place to start as it is a pretty neat system, not too difficult, requires you to have a good level of knowledge of Javascript (which you can learn along the way).

like image 155
BobbyShaftoe Avatar answered Oct 28 '22 22:10

BobbyShaftoe


I would suggest you learn a programming language before you get too involved in APIs. Once you understand how those work, APIs will make a lot more sense

like image 24
akatakritos Avatar answered Oct 28 '22 22:10

akatakritos