Skip to content

Shivelight/cinema21-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cinema21-py

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.