Skip to content

simple json webservice to get all branches from Git - even with pagination

Notifications You must be signed in to change notification settings

TheHaskor/GitAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

GitAPI

Python webservice to get all branches from Git - even with pagination and authentication.

For when you need all branches from github and the API only gets you 100 per page. This JSON webservice combine all pages from a given repository (via header) into a nice format.

How to use:

  1. in client.py change the token to your Github token and user.
  2. run the server.py

After running the server you can simply (in cmd): curl -H "repo: {enter repo name}" localhost:8008 to get all branches :)

About

simple json webservice to get all branches from Git - even with pagination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages