Popcorn API Browser
Easy way to get data from the Popcorn Time API in the browser
Documentation is available at https://popcorn-api.js.org/ (originally for node, but works for this fork too)
Installation
Via NPM:
$ npm install popcorn-api-browser
Usage
Popcorn-API comes with 3 routes you can use: anime
, shows
and movies
.
To access a route, you use it as a property of PopCorn: PopCorn.[route]
.
Examples
const PopCorn = ; // * Search for Animes using query 'kill'PopCornanimes ; // * Search for TV Shows using query 'flash'PopCornshows ; // -> Show
Find more examples in Examples