1

I'm fairly new to any sort of web programming and need help with gathering data from the Github search API. How to I go get the array at https://api.github.com/search/users?q=tom+repos:%3E42+followers:%3E1000 from inside a script? or use a GET /search/user?

Would I do something along the lines of Users[Num_users] = GET api.github.con/search/users?

The github API returns a array of objects (JSON I believe?).

Thank you so much!

1

1 Answer 1

6

Why roll your own? Use a prebuilt module:

https://github.com/PyGithub/PyGithub

List of Python api's from https://developer.github.com/libraries/

PyGithub
Pygithub3
libsaas
github3.py
sanction
agithub
githubpy
octohub
Github-Flask
torngithub
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.