Sanitize and escape all parameters in api.request Investigate what the requirements are here Github APIs: http://developer.github.com/v3/gitignore/ http://developer.github.com/v3/markdown/ http://developer.github.com/v3/repos/contents/#create-a-file http://developer.github.com/v3/repos/contents/#update-a-file http://developer.github.com/v3/repos/contents/#delete-a-file there’s some text about github and pubsubhubbub on the docs. I’m skipping it for now. http://developer.github.com/v3/repos/releases/ http://developer.github.com/v3/repos/statistics/