Skip to main content

a module to interact with Github's API

Project description

## Github library to interact with it's public API

* [pytest]( Uses __pytest__ as the unit-testing framework. Install using <code>pip install pytest</code>.
* [requests]( Uses __requests__ for interacting with the various api urls.

How to use:
* __Load Github Profile & Public Repo details of a user__: Loading a github profile just needs a _username_ to startwith. Here is a small demo with _username_ [__demfier__](<br>

Type the following commands in python shell:

import gitpub

username = 'demfier'
profile = gitpub.Profile()
profile.load_gh_profile(username) # loads profile details of `username`
profile.get_public_repos() # loads all the public repo details of `username`

* __Run Tests__: Just run the command<code>py.test -v</code> to see the test results.

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for gitpub, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size gitpub-1.0-py2-none-any.whl (6.8 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size gitpub-1.0.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page