Skip to main content

A simple Cinema21 API wrapper.

Project description

PyPI - Status PyPI - Version PyPI - License PyPI - Python Version

A simple wrapper for Cinema21 private API.

Installation

pip install cinema21

Examples

Initialize

>>> import cinema21
>>> cinema = cinema21.Cinema21()

Fetch available city

>>> cinema.cities()
Cities(cities=[list of City object])

Fetch currently playing movie by city

>>> cinema.playing(10)  # 10 is the id of Jakarta
Movies(movies=[list of Movie object])

References

You can read the source code. The whole code is self explanatory.

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 cinema21, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size cinema21-1.0.1-py2.py3-none-any.whl (5.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size cinema21-1.0.1.tar.gz (4.4 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