Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/presslabs/zipa
General purpose REST API client #ep14boat
https://github.com/presslabs/zipa
api-client python
Last synced: 3 days ago
JSON representation
General purpose REST API client #ep14boat
- Host: GitHub
- URL: https://github.com/presslabs/zipa
- Owner: presslabs
- License: apache-2.0
- Created: 2014-07-23T13:34:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T07:46:34.000Z (about 3 years ago)
- Last Synced: 2024-09-27T10:51:26.323Z (about 1 month ago)
- Topics: api-client, python
- Language: Python
- Homepage: https://www.presslabs.com/code/zipa/
- Size: 75.2 KB
- Stars: 74
- Watchers: 15
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - zipa - General purpose REST API client #ep14boat (Python)
README
zipa [![Build Status](https://api.travis-ci.org/PressLabs/zipa.svg)](https://travis-ci.org/PressLabs/zipa)
====# Welcome to zipa
zipa is a magic pythonic REST client. For more information read the [docs](http://zipa.readthedocs.org/).
zipa was developed by the awesome engineering team at [Presslabs](https://www.presslabs.com/),
a Managed WordPress Hosting provider.For more open-source projects, check [Presslabs Code](https://www.presslabs.org/).
### 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.