Created Github API using Octokit

I have created Github Api using Octokit. Please review and let me know the comments.
The same comment about `def token` applies here too.