Python 3.7之使用web api

1.調用GitHub的公共API #須要提早安裝requests 包 import requests url = 'https://api.github.com/search/repositories?q=language:python&sort=stars' r = requests.get(url) print("Status code:",r.status_code) response
相關文章
相關標籤/搜索