What are query strings? How do I use them? In this lesson you’ll learn exactly that. The .get() function accepts a params argument, which can be a dictionary, a list of tuples or raw bytes. The following example uses the GitHub Search API looking for the requests library:
>>> requests.get(
... 'https://api.github.com/search/repositories',
... params={'q': 'requests+language:python'}
... )
<Response [200]>
DaveyD on May 3, 2020
Sorry to correct what I said this is the response from the repo: