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.

Source Distribution

cinema21-1.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

cinema21-1.0.1-py2.py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page