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

Project details


Download files

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

Source Distribution

octopie-0.0.11.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file octopie-0.0.11.tar.gz.

File metadata

  • Download URL: octopie-0.0.11.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for octopie-0.0.11.tar.gz
Algorithm Hash digest
SHA256 95faef20f88e17de62130870901ed4239e129a87f5bbb6a9be67dd10b66216ed
MD5 ffc264f070bdfb573c2cd94d8edc0d4c
BLAKE2b-256 7bafab7e00ecd06ea91d702cbb414e352b84c665b2c0fd05c0dae044644cad3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page