Skip to content
General purpose REST API client #ep14boat
Python Makefile
Branch: master
Clone or download
Pull request Compare This branch is 49 commits behind presslabs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
examples
tests
zipa bum version Mar 12, 2015
.gitignore
.travis.yml
LICENSE
Makefile
README.md
mkdocs.yml
requirements-dev.txt added make docs Jul 25, 2014
requirements-test.txt
requirements.txt
setup.py

README.md

zipa Build Status

magic pythonic REST clients (docs).

Instalation

pip install zipa

Examples

>>> from zipa import api_github_com as gh
>>> for repo in gh.users['tpope'].repos:
...     print repo.name

Under the hood zipa transforms your imports into clients. It follows a simple convention: HOSTNAME__PREFIX. For the hostname, single underscores are translated into dots and for the prefix into slashes.

For example: api_twitter_com__v1 becomes https://api.twitter.com/v1. The prefix part is optional.

You can’t perform that action at this time.