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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file cinema21-1.0.1.tar.gz.

File metadata

  • Download URL: cinema21-1.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cinema21-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a29addbb916e7fc45f6c3a0069067a6f3f1a8db90e834369c97eb5cd2eda212f
MD5 b966946c3d87e80449e03cf90e8e3d70
BLAKE2b-256 3627b482c85ab2c392b1ac8581f34dcc500eee5e18964f3718112aae6fbb1ffd

See more details on using hashes here.

File details

Details for the file cinema21-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cinema21-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d9d8efb88828ad9a2dcab1d247223b6abd1f5865d0f8f756bb4fb6e3c2f83fee
MD5 e0294703141004456b1132d9ccb6836e
BLAKE2b-256 0eb3a379a8b0a33f9dd5a24a74f7f48b2b48e4405254611e7dbd888ac3d2cbf4

See more details on using hashes here.

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