giggity: grab hierarchical data about a github organization, user, or repo
Giggity
Get information about an organization, user, or repo on github. Stores all data in a json file, organized in a tree of dictionaries for easy database transfer or data analysis. All done through the github api, with or without authentication (authentication highly recommended).
Install
git clone https://github.com/needmorecowbell/giggity.git pip3 install -r requirements.txt
Use
Example of Scraping a User
python3 giggity.py -a -O needmorecowbell.json -v -u needmorecowbell
- This will ask for authentication credentials, put the program into verbose mode, scrape github for the user needmorecowbell, then put the results into needmorecowbell.json
Example of Scraping an Organization
python3 giggity.py -a -o github -O github.json
- This will ask for authentication, scrape the github organization on github, then put out the results in github.json
Giggity as a Module
- giggity can also be used as a module — all data is stored within orgTree as a nested dict.
Copyright 2019 Adam Musciano