Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A python API wrapper specificly designed to work with netflix's streaming API

Project description

About
-----

This code is desgined to make working with netflix's streaming API easy. We take the pure json output of the netflix API and wrap it in a format that is easy to consume in python.

This code started out as a branch of [pyflix] (http://code.google.com/p/pyflix/)

*This is a work in progress.*

install
-------

`pip install flixpy`

setup
-----

First you'll need to get a `key` and `secret` from netflix. you can do that by registering here: http://developer.netflix.com/member/register

Once you have those (and have registered an app with them) you can get started. At the most basic level you can access general netflix resources using just the data provided above:

``` python
from netflix import NetflixClient

APP_NAME = '<your app name>'
API_KEY = '<your key>'
API_SECRET = '<your secret>'

netflix = NetflixClient(APP_NAME, API_KEY, API_SECRET)
```

You can then do anything that dosn't require a netflix user. An example is `autocomplete`:

``` python

results = netflix.catalog.autocomplete('batman')

print results

[u'Batman: The Animated Series',
u'Batman Beyond',
u'Batman: The Brave and The Bold',
...

```

*Note that autocomplete only returns title strings. You can then use these in search to get exact matches with more data.*

Project details


Release history Release notifications

This version

0.1

Download files

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

Files for flixpy, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size flixpy-0.1.tar.gz (8.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page