Fetching contributors…
Cannot retrieve contributors at this time
31 lines (23 sloc) 733 Bytes


When adding a new endpoint

-- | The title, as in the GitHub API docs.
-- <url to the docs>
endpointR :: Request k EndpointResult
endpointR = query ["endpoint"] []

For example:

-- | Get your current rate limit status.
-- <>
rateLimitR :: Request k RateLimit
rateLimitR = query ["rate_limit"] []

Also re-export endpoints from the top GitHub module. Note: only R variants, not IO.


  • Don't edit, it will only conflict.
  • Don't edit package version.
  • The codebase is not uniform in style, don't make it worse.