popcorn_api 1.1.0 copy "popcorn_api: ^1.1.0" to clipboard
popcorn_api: ^1.1.0 copied to clipboard

outdated

interact with popcorn-api easily

PopcornApi



Easy way to get data from the Popcorn Time API Documentation is available at https://popcorn-api.js.org/


Usage



Popcorn-API comes with 4 routes you can use: anime, shows,movies random
To acess a route, you can use: Popcorn.route


Examples



 Popcorn.random("movie").then((c)async{
     print(c.first.item);
  });
  // get animes with keyword ga, and get a random result
  Popcorn.animes.search({
    "keywords":"ga"
  }).then((c)async{
    print(c.random.item);
  });
//Params to search() function
Popcorn.shows.search({
    "keywords":"keywords",
    "page":1,
    "sort":"rating",
    "genre":"all"
});

You can found more examples in https://github.com/Acnologla/PopcornAPi/tree/master/examples

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

interact with popcorn-api easily

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on popcorn_api