* I'm absolutely against any kind of illegal usage of this software and also Popcorn Time has been abandoned in favor of Butter (which has also been abandoned). You can find examples about my library directly on GitHub. In fact, honestly, to use my library you don't need to know anything about JSON-RPC or ajax calls at all, you just need to call methods and get responses (if there is a response). Instead, you can just focus on the application you want to build and nothing else. There are some other slightly complex things to take care of with other methods, but this is exactly the reason why I've created a library: so that you don't need to know all these things too. The following is an example of a general call with its response: -> They're both hosted on GitHub and you're also free to use them or to study the code.īut how does the Popcorn Time API's work? First of all, you need to know how the JSON-RPC works, so if you don't know it here is some information, it's actually very simple. So I decided to create a website and a library to handle the underlying protocol and API's methods: popcorntime_remote.js and popcorn time remote controller. Thats why you wont find Popcorn Time in the App Store. We're able to communicate remotely thanks to the JSON-RPC server inside PT which allows websites and apps to control the player. Apple doesnt allow the use of applications that stream unauthorized multimedia contents, and specially not applications that have to do with downloading torrents. The great thing actually is that we also have the possibility to control PT remotely and so wherever we are, we can choose the movie, turn down the volume, toggle the fullscreen mode, search for a TV show and do everything you normally do directly on the desktop app. ![]() Given its simplicity with its user-friendly interface, you can consider it as "the illegal Netflix"*. ![]() ![]() For those who don't know what I'm talking about, Popcorn Time (PT from now on) is an application born some time ago that gives you the possibility of watching tons of Tv Shows, Movies, and Anime using the p2p protocol. So today we're going to talk about Popcorn Time's API that allows developers to execute actions without using the desktop application. I think this is the truest thing I've ever said, and it also seems a famous movie quote. 2 min read Photo by Corina Rainer / Unsplash The only people who don't love Popcorn Time are the people who still don't know it.
0 Comments
Leave a Reply. |