I successfully registered for an API key. What should I do now?

I have installed Drupal. Is there any sample/notes on how to proceed with accessing the API from the application so I can get to display threads on my site?

I was wondering if there was some samples, like how to use the key and grab the questions from Stack Overflow?

  • 1
    I've reworded and retagged your question so that it is a little more clear and increase your chances of getting an answer. Please feel free to edit your question if I've changed the meaning of it at all. Commented Feb 26, 2011 at 18:31
  • You'd have to explain what "get the threads" means, if you want any help. Commented Feb 26, 2011 at 19:00

1 Answer 1


There is no direct integration into Drupal, even from any of the existing API libraries available. To clear up the confusion:

The API provides you access to the API interface, hosted by Stack Exchange which you can then use to develop software against and provides you with readonly access to the content of the Stack Exchange sites.

Since your using Drupal, you will need to create your own Drupal modules that will talk to the API directly. The API is well document here and will show you the various ways you can use the API. In example, to retrieve a list of sites from the API you can make a call to the sites route on Stack Auth:


This will return you JSON which you can then parse in your code and manage.

This is an extremely brief and simplified overview of what needs to be done to interface with the API, the documentation I linked is much more complete.

It would be helpful if you had a more exact question about using the API however.

Since based on your question, all you want to do is display questions in Drupal, have you considered just using the normal RSS feed from the actual site your interested in, using the existing Drupal RSS modules?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .