Tutorials: API

Does anyone know any good tutorials for wrapping around the concept for working with API’s?

I have been trying to grasp my mind around the concept for APIs ever since FLICKR opened their network up. I try to work with them but I have a hard time applying or working with the structure.

I know what an API does, and its purpose, but when looking at the code its a little hard to grasp sometimes.