Python API client for GitHub APIv3
## Installation
- ### To Run
pip install octopie
- ### To Develop
Nothing specific now
- ## Usage
import octopie
client = octopie.GitHubAPI()
- try:
result = client.search.users.get(q=’language:python’)
- except APIError as e:
print e
In case of having variables for an API call. For example:
GET /repos/:owner/:repo/collaborators
The octopie for above example will be:
owner = ‘steven’ repo = ‘octopie’ result = api_client.repos.__getattr__(owner).__getattr__(repo).collaborators.get()
## Notes
Octpie is defaulted to 30 seconds connection timeout
Metadata
Release files for octopie 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| octopie-0.0.11.tar.gz | 3.8 kB | Details |
Release files / octopie-0.0.11.tar.gz
| Download URL | octopie-0.0.11.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95faef20f88e17de62130870901ed4239e129a87f5bbb6a9be67dd10b66216ed
|
|
BLAKE2b-256 checksum How to use checksums |
7bafab7e00ecd06ea91d702cbb414e352b84c665b2c0fd05c0dae044644cad3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |