Skip to main content

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)

Project details


Download files

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

Files for mezzanine-client, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size mezzanine_client-0.1.1-py2.py3-none-any.whl (6.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mezzanine-client-0.1.1.tar.gz (5.5 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