A Python client for Mezzanine REST API.
Project description
# Mezzanine API Client
[![Download from PyPI](https://img.shields.io/pypi/v/mezzanine-client.svg)](https://pypi.python.org/pypi/mezzanine-client)
[![License](https://img.shields.io/pypi/l/mezzanine-client.svg)](https://pypi.python.org/pypi/mezzanine-client)
[![Join the chat](https://badges.gitter.im/gcushen/mezzanine-api.svg)](https://gitter.im/gcushen/mezzanine-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Python client SDK and remote CLI for [Mezzanine API](http://gcushen.github.io/mezzanine-api/).
# Installation
pip install --upgrade mezzanine-client
# Documentation
[Documentation Website](http://gcushen.github.io/mezzanine-api/client/)
Example code to display recent blog posts:
```python
from mezzanine_client import Mezzanine
api = Mezzanine( 'app_id', 'app_secret' )
# Recent posts
published_posts = api.get_posts(page=1)
for post in published_posts:
print('{} (ID: {})'.format(post['title'], post['id']))
```
# Community
[Chat Room](https://gitter.im/gcushen/mezzanine-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Created by [George Cushen](https://twitter.com/GeorgeCushen)
[![Download from PyPI](https://img.shields.io/pypi/v/mezzanine-client.svg)](https://pypi.python.org/pypi/mezzanine-client)
[![License](https://img.shields.io/pypi/l/mezzanine-client.svg)](https://pypi.python.org/pypi/mezzanine-client)
[![Join the chat](https://badges.gitter.im/gcushen/mezzanine-api.svg)](https://gitter.im/gcushen/mezzanine-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Python client SDK and remote CLI for [Mezzanine API](http://gcushen.github.io/mezzanine-api/).
# Installation
pip install --upgrade mezzanine-client
# Documentation
[Documentation Website](http://gcushen.github.io/mezzanine-api/client/)
Example code to display recent blog posts:
```python
from mezzanine_client import Mezzanine
api = Mezzanine( 'app_id', 'app_secret' )
# Recent posts
published_posts = api.get_posts(page=1)
for post in published_posts:
print('{} (ID: {})'.format(post['title'], post['id']))
```
# Community
[Chat Room](https://gitter.im/gcushen/mezzanine-api?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Created by [George Cushen](https://twitter.com/GeorgeCushen)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mezzanine-client-0.1.1.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for mezzanine_client-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce1a91e3a9191c0ca9bb607c321bd92dfb5516913d0199061d56b031b2600082 |
|
MD5 | e6f4e47837e191ded19a9a183164bbfd |
|
BLAKE2b-256 | 1bfa90b0b16893333bd593db2a1212ebcf657c01e61f8864121c70b08ef79004 |