Skip to main content

Python GitHub API Client

Project description

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for octopie, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size octopie-0.0.11.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page