Issue #9481 invalid

API call to issues endpoint fails if parameters provided

Alexey Strelkov
created an issue

I'm using an example from

Everything seems fine until I try to get only closed issues, so I change

url = '' % (username, repo_slug)


url = '' % (username, repo_slug)

And I get a 401 HTTP status. If I change it back - it works fine.

Comments (3)

  1. Alexey Strelkov reporter

    Nevermind, I forgot that you need to pass querystring as a dict, because the lib is built on top of Requests, like that:

    url = '' % (username, repo_slug)
    resp = session.get(url,params={"limit":5,"status":"closed"})
  2. Log in to comment