use github_api_uri method instead of hardcoded github api uri.