Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srinivasreddy/allhub
allhub is a library for github REST API
https://github.com/srinivasreddy/allhub
git github github-api-v3 python rest-api
Last synced: 2 months ago
JSON representation
allhub is a library for github REST API
- Host: GitHub
- URL: https://github.com/srinivasreddy/allhub
- Owner: srinivasreddy
- License: apache-2.0
- Created: 2019-08-26T05:33:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:44:11.000Z (about 2 years ago)
- Last Synced: 2024-11-07T04:09:38.882Z (3 months ago)
- Topics: git, github, github-api-v3, python, rest-api
- Language: Python
- Homepage:
- Size: 295 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### About allhub
`allhub` is a REST API library for Github REST API v3 written in python. Currently, this library is under heavy
development. Maybe i will cut a release once i am confident that major part of the library covered with tests.### Features
1. `allhub` is heavily inspired by Javascript, meaning that you can access the properties on JSON
object either object.prop or object["prop"]. I feel the later version is kind of verbose, and I recommend
you use the object.prop.2. I have seen most of the Github libraries are not covered comprehensively. But this library aims to covers
all of REST API v3.3. I have designed this library keeping programmer ergonomics in mind, so that you create only one object
to access any of the API.### License
Apache License 2.0
MITin case you need some other license, please let me know.
### Examples
```python
from allhub import AllHub
allhub = AllHub(
"username",
"tokenxxxxxxxxxxxxxxx",
"app_tokenxxxxxxxxxxxxxx",
"password"
)
response = allhub.xxxxxxxxx()
```## TODO
`allhub` requires some love. Currently, unit tests are almost non existent. Love to take the coverage to 100%.
But I am severely limited by time and priorities. If someone wants to send unit tests, please fork and
send the patch away.You are more than welcome.