This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Helps you log in to mubi.com

Project Description

A good starting point for getting some data from mubi.com. Since MUBI doesn’t provide a public API, you need to do all the things manually. mubi.py is created to help you with the login process.

Powered by awesome Requests.

Usage

To access the most interesting part of the mubi.com content you’ll need to be logged in. It’s time for mubi.py:

>>> from mubi import login, mubicom
>>> session, me = login('email', 'password', identify=True)

# Show your user id
>>> print(me)
'123456'

# Use the requests.Session object (now with cookies) as usual
>>> session.get(mubicom('/films'))
<Response [200]>

To be a good internet citizen provide some information about yourself:

>>> import requests
>>> from mubi import login

>>> s = requests.Session()
>>> s.headers.update({
...     # Add something useful
...     'User-Agent': 'Mr. Robot/1.0 (http://github.com/example/repo beep@example.com)'
>>> })

>>> mubi = login('email', 'password', session=s)

Install

$ pip install mubi
Release History

Release History

This version
History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mubi-0.2.0.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source Feb 15, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting