我对任何类型的网络编程都很陌生,需要帮助从 Github 搜索 API 收集数据。如何获取位于 https://api.github.com/search/users?q=tom+repos:%3E42+followers:%3E1000 的阵列从脚本内部?或者使用 GET/search/user?
我会按照 Users[Num_users] = GET api.github.con/search/users 做些什么吗?
github API 返回一个对象数组(我相信是 JSON?)。
非常感谢!
最佳答案
为什么要自己推出?使用预建模块:
https://github.com/PyGithub/PyGithub
来自 https://developer.github.com/libraries/ 的 Python api 列表
PyGithub
Pygithub3
libsaas
github3.py
sanction
agithub
githubpy
octohub
Github-Flask
torngithub
关于python - 如何在 python 脚本中从 Github API 检索数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39047695/