Home Account

simple github api php

2012-12-29 16:44 dennis iversen

Tags: php oauth

I made the simple php github API in order to explore oAuth - and I found out that it is actually quite simple. You can use it for one or another reason - e.g. for logging users into your site. Or you can use it to explore repos or gists - or update or delete repos.

The API class only have three methods, which can be used for all the github API methods version3. There is simple example included.

The github oAuth authentication process is far more simple than e.g. the twitter oAuth API, which is quite complicated - I actually don't know if twitter is more secure or if it is just more complicated.

Never mind. If I should implement the twitter oAuth API I would use the twitteroauth

This page has been requested 5316 times