presslabs / zipa

General purpose REST API client #ep14boat

Home Page:https://www.presslabs.com/code/zipa/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zipa Build Status

Welcome to zipa

zipa is a magic pythonic REST client. For more information read the docs.

zipa was developed by the awesome engineering team at Presslabs, a Managed WordPress Hosting provider.

For more open-source projects, check Presslabs Code.

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.

About

General purpose REST API client #ep14boat

https://www.presslabs.com/code/zipa/

License:Apache License 2.0


Languages

Language:Python 97.4%Language:Makefile 2.6%