Add option for custom API URL

## Need
We need a way for users to use the plugin with a custom endpoint instead of `api.github.com`. This way they can route requests through a proxy.

## Deliverables
Modify the plugin to accept a custom API URL and use `api.github.com` by default