I am building a site and would like to expose an API much like twitter etc - then test the site by rebuilding it with its own API sort of thing.

My first question though : how do I get started on something like that with a Drupal 5.x site? Are there some handbook pages on this? I've looked around and just find things about Drupal's API etc...

Cheers,
Adam

Comments

nevets’s picture

The term API covers a lot of ground. Within Drupal modules create API's primarily with two methods, functions and hooks. External API's (one that can invoked from another website) come in variety of interfaces but in the end generally boil down to exposing one or more URL's as an interface and documenting how they work.

nimzie’s picture

I guess more in the lines of other sites/services being able to use my site/service/data.

I know there are things like prepopulate, but if I imagine something like twitter, it seems slightly more robust than URLs w/params.

Any thoughts for a good place to make my first dig with this shovel?