Keep in mind that people have really different approaches to building APIs. If that subject interests you, Google around “API design patterns” and “API paradigms.” Or just start with this neat entry-level article. :)
A painless intro to working with APIs
Maxime LaBoissonniere

I’m the author of the article you mentioned here. Glad you recommend it, I appreciate that!