updated to v3 api
update for api v3
Merge pull request #5 from chandeeland/master

i updated this for github api v3