1
我對任何類型的網絡編程都很陌生,需要幫助從Github搜索API收集數據。如何從腳本內部獲取https://api.github.com/search/users?q=tom+repos:%3E42+followers:%3E1000的數組?或者使用GET/search/user?如何從python腳本中的Github API檢索數據?
我會根據用戶[Num_users] = GET api.github.con/search/users?行來做些什麼嗎?
github API返回一個對象數組(我相信JSON)。
非常感謝!
你在正確的軌道上,只是用這個方法,使GET請求。 http://stackoverflow.com/questions/645312/what-is-the-quickest-way-to-http-get-in-python – user3080953