News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell's Blog:
Gthub API Issues List
January 11, 2011 @ 09:56:26

Lorna Mitchell has a handy tip for those PHPers out there that use Github and want to pull off the issues from their project's Issues List quickly and easily - use their API (super simple).

I looked around for some export functionality for github but I got a lot of posts complaining it wasn't there. Since I hate applications that take your data and refuse to let you remove it, I was disappointed by this news but further inspection showed that although there might be no "export from github" button, there's an API that more than has it covered.

She gives an example of how to fetch only the currently open issues (the important ones) and pull then back through the API as a JSON message. Her little code snippet uses file_get_contents, but this can obviously be adopted to whatever use you might want. You can find out more about the things you can do with the Github API on the develop.github.com site including features to work with organizations, users, pull requests and gists.

0 comments voice your opinion now!
github api issues json tutorial filegetcontents


blog comments powered by Disqus

Similar Posts

DevShed: Working with Template Classes in PHP 5

GoodPHPTutorials.com: Integrating the Authorize.Net AIM API with PHP

Zend Developer Zone: Extending Zend Server GUI – Data Cache Information

Charlie Key's Blog: Transmitting data between Flex and PHP using JSON

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP


Community Events











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


opinion introduction dependency unittest component podcast security package application language hack framework composer facebook overview hhvm symfony2 release install series

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