July 2017
Beginner to intermediate
312 pages
7h 27m
English
Connecting to the API is very straightforward:
import requests import json
ACCESS_TOKEN = 'YOUR_ACCESS_TOKEN'
access_token_str = '&access_token= + ACCESS_TOKEN'
In this example, we used the parameters explained in the previous section:
url = "https://api.github.com/search/repositories/q=QUERY+language:LANG+created:>START_DATE+pushed:>PUSHED_DATE&sort=stars&order=desc"
response = requests.get(url + access_token_str) result = response.json()
In our project, we will use multiple fields of the ...
Read now
Unlock full access