Giter VIP home page Giter VIP logo

21cineplex-api's Introduction

21cineplex-api

Scraping data dari 21cineplex untuk keperluan hobby dan riset, tidak ada hal yang berbahaya atau dapat merugikan website sumber.

Software

- NodeJS^14.x.x (stable).
- npm^8.x.x

Paket software

- cheerio^1.x.x
- axios^0.26.x
- express^4.17.x
- nodemon^2.0.x

Installasi

- git clone https://github.com/heirro/21cineplex-api.git
- cd 21cineplex-api
- npm install

Menjalankan projek

Development

npm run dev

Production

npm run start

Referensi API

Dapatkan item film yang sedang berlangsung

http://localhost:3180/cineplex/playing
Method Type Description
GET JSON Menampilkan semua Film yang sedang berlangsung di theater.

Dapatkan item film yang akan datang

http://localhost:3180/cineplex/upcoming
Method Type Description
GET JSON Menampilkan semua Film yang akan datang di theater.

Dapatkan item semua Kota

http://localhost:3180/cineplex/city
Method Type Description
GET JSON Menampilkan semua Kota

Dapatkan item Teater berdasarkan Kota

- http://localhost:3180/cineplex/theaters/{city_id}
Method Type Description
GET JSON Menampilkan semua item Teater (2D Reguler, IMAX, Premier) berdasarkan Kota, untuk mendapatkan id kota, menggunakan endpoint /cineplex/city

Dapatkan item semua jadwal film di Teater berdasarkan Kota

- http://localhost:3180/cineplex/schedule/{teater_id}
Method Type Description
GET JSON Menampilkan semua jadwal Film di Teater berdasarkan Kota, untuk mendapatkan id Teater, menggunakan endpoint /cineplex/city/{id}

Dapatkan detail item Film

- http://localhost:3180/cineplex/movies/{movie_id}
Method Type Description
GET JSON Menampilkan detail Film, untuk mendapatkan movie_id, menggunakan endpoint /cineplex/playing atau /cineplex/upcoming

Demo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.