News Feed
Jobs Feed
Sections




News Archive
Zend Developer Zone:
Using the Stack Exchange API with PHP (part 1)
December 30, 2010 @ 13:04:02

On the Zend Developer Zone today the first part of a series from Vikram Vaswani has been posted. This new set of articles will look at how to use the Stack Exchange API from your PHP applications.

The thing about Stack Overflow, though, is that it has a geeky secret of its own. Like many Web 2.0 applications, it exposes its data to the public via the Stack Exchange Web service API, making it possible to develop customized applications that run on top of the base service. This API allows access to a number of important functions, including searching for questions, retrieving answers and comments, accessing user profiles, and working with tags and badges. It's also pretty easy to integrate this API into a PHP application - and this two-part article will show you how!

In part one he introduces you to some of the conventions and tips you'll need to know when reading through the article. He shows how to get and parse a sample response (with json_decode). He also uses the proposed StackPHP PEAR package to make requests for general question information, specific details, tags, comments and search results.

0 comments voice your opinion now!
stackexchange api tutorial stackphp pear package json


blog comments powered by Disqus

Similar Posts

Matt Williams' Blog: High level search with PHP and Apache Solr

SearchOpenSource.com: Automating Amazon research with the Zend Framework

NetTuts.com: Testing Like a Boss in Laravel: Models

Gonzalo Ayuso: How to use environ variables to create different environments with PHP

Sameer Borate's Blog: Beautifying XML documents


Community Events











Don't see your event here?
Let us know!


code community example testing release unittest development framework composer database introduction functional phpunit zendframework2 interview api language series podcast opinion

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework