python3 module to call github apis in command line or inside a module.
Project description
pygithubapi
python3 module to call github apis in command line or inside a module and export result into mysql and later Grafana.
The source for this project is available here.
It's a python module that you can include in your python module or can be used in command line.
python3 pygithubapi.py --help
usage: pygithubapi.py [-h] [-V] [-U USER] [-t TOKEN] [-u URL] [-a API] [-m METHOD]
[-J JSONFILE]
pygithubapi is a python3 program that call github apis in command line or imported as
a module
optional arguments:
-h, --help show this help message and exit
-V, --version Display the version of pygithubapi
-U USER, --user USER github user
-t TOKEN, --token TOKEN
github token
-u URL, --url URL github url
-a API, --api API github api should start by a slash
-m METHOD, --method METHOD
should contain one of the method to use : ['DELETE', 'GET',
'POST', 'PUT']
-J JSONFILE, --jsonfile JSONFILE
json file needed for POST method
release notes
1.0.0 initial version
1.0.1 fixing issue with wrong json dependency
1.0.2 fixing issue with UnboundLocalError: local variable 'response' referenced before assignment
1.0.3 fixing issue with response.json()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygithubapi-1.0.3.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for pygithubapi-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2905154b748707fab327477d7c8e99b9070dff7bdf38e7441b1063c2b6fa2260 |
|
MD5 | aa201bc99c1bcfe462abd39010514187 |
|
BLAKE2b-256 | 447315bdf3d25819b11f2d9eb3cf75364153aa7d2f0634a7f2b775da1740f491 |