Skip to content

stevenc81/octopie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

======= octopie

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

About

Python API client for GitHub APIv3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages