Giter Site home page Giter Site logo

romi666 / api-filmapik Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devnazir/api-filmapik

0.0 0.0 0.0 50 KB

API ini digunakan untuk mengambil data-data movie filmapik, termasuk source video/film

Home Page: https://api-filmapik.herokuapp.com/

JavaScript 100.00%

api-filmapik's Introduction

API FILMAPIK

API ini digunakan untuk mengambil data-data movies atau film yang ada di website filmapik. Berikut ini beberapa data yang akan didapat

  1. title
  2. thumbnailPotrait
  3. rating
  4. quality
  5. movieId
  6. views
  7. genre
  8. director
  9. actors
  10. country
  11. duration
  12. release
  13. thumbnailLandscape
  14. description
  15. video
  16. trailer
Pathname Memerlukan Parameter Opsional Parameter Keterangan
search q page, video, maxResult untuk melakukan pencarian movie
latest page, video, maxResult untuk mendapatkan data-data movies terbaru diupload
country search page, video, maxResult untuk melakukan pencarian movie berdasarkan negara
category search page, video, maxResult untuk melakukan pencarian movie berdasarkan kategori
play q untuk melihat link video google drive
Parameter Keterangan
page digunakan untuk menentukan data movies pada halaman yang ditentukan
video digunakan jika ingin menampilkan link video pada google drive atau efek.stream (player filmapik), secara default nilai nya false. jika ingin menampilkan link google drive, isi parameter dengan nilai gdrive. Jika ingin menampilkan link efek.stream, isi parameter dengan nilai iframe.
maxResult digunakan untuk menentukan berapa jumlah movie yang akan ditampilam dalam satu halaman
q digunakan untuk melakukan pencarian movie / pencarian movie berdasarkan movieId.
search digunakan untuk melakukan pencarian movie berdasarkan negara/kategori

Pemakaian

https://api-filmapik.herokuapp.com/pathname?parameter

Contoh

GET search

https://api-filmapik.herokuapp.com/search?q=avenger

GET latest

https://api-filmapik.herokuapp.com/latest

GET country

https://api-filmapik.herokuapp.com/country?search=france

Output

{
    title: "Cuties (2020)",
    thumbnailPotrait: "https://image.myfile.work/poster/tt9196192.jpg",
    rating: "3.1",
    quality: "WebRip",
    movieId: "145014",
    detail: {
      trailer: "https://www.youtube.com/embed/M0O7lLe4SmA",
      views: "11180",
      genre: "Drama",
      director: "Maïmouna Doucouré",
      actors: "Esther Gohourou, Fathia Youssouf, Ilanah Cami-Goursolas, Médina El Aidi-Azouni",
      country: "France",
      duration: "96 min",
      release: " 2020",
      thumbnailLandscape: "https://image.myfile.work/backdrop/backdrop-tt9196192.jpg",
      description: " Amy, an 11-year-old girl, joins a group of dancers named “the cuties” at school, and rapidly grows aware of her burgeoning femininity—upsetting her mother and her values in the process."
    }
},

...

GET category

https://api-filmapik.herokuapp.com/category?search=action

Output:

{
    title: "Heroes Return (2021)",
    thumbnailPotrait: "https://image.myfile.work/poster/heroes-return-2021.jpg",
    rating: "",
    quality: "WEBDL",
    movieId: "145923",
    detail: {
        views: "17954",
        genre: "Action",
        duration: "",
        release: " 2021",
        thumbnailLandscape: "",
        description: " Warm and justice veteran Wu Wei (Lui), chemical expert Xu Zhilan (Xu Dongdong), undercover detective Gao Tianming (Yuan Biao) and others set up a temporary       special operation team to understand and rescue the hostages trapped on the island. They infiltrated the gathering point of hundreds of thugs, used their wealth of           knowledge and professional skills to make combat weapons"
    }
},

...

GET play

https://api-filmapik.herokuapp.com/play?id=142455

Output:

{
  link: "https://drive.google.com/file/d/1hzKA1KwJAyZtWH_uaPb6EtVWHCO5NCv0/preview"
}

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.