semvec/pypi-packages huggingface dataset:
cinema21 1.0.1
A simple Cinema21 API wrapper.
License: MIT
Keywords: cinema21 unofficial api

cinema21-py
=======================


.. image:: https://img.shields.io/pypi/status/cinema21.svg
   :target: https://pypi.python.org/pypi/cinema21
   :alt: PyPI - Status

.. image:: https://img.shields.io/pypi/v/cinema21.svg
   :target: https://pypi.python.org/pypi/cinema21
   :alt: PyPI - Version

.. image:: https://img.shields.io/pypi/l/cinema21.svg
   :target: https://pypi.python.org/pypi/cinema21
   :alt: PyPI - License

.. image:: https://img.shields.io/pypi/pyversions/cinema21.svg
   :target: https://pypi.python.org/pypi/cinema21
   :alt: 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.