Module Development

Exposing an API with Drupal for Drupal 7

This page is archived

We're keeping this page up as a courtesy to folks who may need to refer to old instructions. We don't plan to update this page.

Alternate resources

Sprout Video

In this tutorial, I'll show you a few ways we can create a basic API by exposing data from our Drupal site.

The methods I'll use include:

Self-check question: In what situations would you consider using each of these approaches?

Additional resources

Views Datasource
Services