Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By nimzie on
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
The term API covers a lot of
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.
I guess more in the lines of
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?