Popcorn-time-api - Python API for interacting with the Popcorn Time Servers

Overview

Popcorn Time API Version Python_Version License Donate CodeQL Downloads Downloads

📝 CONTRIBUTIONS

Before doing any contribution read CONTRIBUTING.

📧 CONTACT

Email: [email protected]

General Discord: https://discord.gg/dFD5HHa

Developer Discord: https://discord.gg/rxNNHYN9EQ

📥 INSTALLING

Latest PyPI stable release

pip install popcorn-time

HOW TO USE

from popcorntime import PopcornTime
popAPI = PopcornTime()

🤝 PARAMETERS

CLASS PARAMETERS

  • debug : bool, optional
    • Enable for debug mode (Default: False)
  • min_peers : int, optional
    • Minimum number of peers to select torrent (Default: 0)
  • min_seeds : int, optional
    • Minimum number of seeds to select torrent (Default: 0)

FUNCTION PARAMETERS

  • FUNCTION set_logging_level

    • level : int, required
      • Set the logging level
      • Accepted values:
        • 0: DEBUG
        • 1: INFO
        • 2: WARNING
        • 3: ERROR
        • 4: CRITICAL
        • 5: NOTSET
  • FUNCTION set_base_url

    • url : str, required
      • Set the base url for the API
  • FUNCTION set_base_url

    • url : str, required
      • Set the base url for the API
  • FUNCTION set_min_seeds

    • value : int, required
      • Minimum number of seeds to select torrent
  • FUNCTION set_min_peers

    • value : int, required
      • Minimum number of peers to select torrent
  • FUNCTION get_shows_page

    • page : (int, str), required
    • Returns the shows page in json format
  • FUNCTION get_movies_page

    • page : (int, str), required
    • Returns the movies page in json format
  • FUNCTION get_show

    • show_id : (int, str), required
      • IMDB ID of the show
    • Returns the show data in json format
  • FUNCTION get_movie

    • movie_id : (int, str), required
      • IMDB ID of the movie
    • Returns the movie data in json format
  • FUNCTION get_best_quality_torrent

    • torrents : dict, required
      • The dictionary of torrents provided by the API (get_show or get_movie)
    • Returns the best quality torrent is json format

Legal Notice

This SDK is not meant to be used for illegal purposes, use it at your own risk and check your local regulations first.

You might also like...
Discord bot to administer IITD Study Servers (unofficial)

IITD-Bot Discord bot to administer IITD'20 Acad Server Commands hello to check if bot is online ?help to display this message ?set kerberos to set y

A discord bot for tracking Iranian Minecraft servers and showing the statistics of them

A discord bot for tracking Iranian Minecraft servers and showing the statistics of them

💀 The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client.
💀 The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client.

💀 Deadcord The next upcoming Discord raid tool, the best for free. 🎉 Early Beta Released We have released an early version of Deadcord, please keep

Migration Manager (MM) is a very small utility that can list source servers in a target account and apply mass launch template modifications.

Migration Manager Migration Manager (MM) is a very small utility that can list source servers in a target account and apply mass launch template modif

Robot to convert files to direct links, hosting files on Telegram servers, unlimited and without restrictions

stream-cloud demo : downloader_star_bot Run : Docker : install docker , docker-compose set Environment or edit Config/init.py docker-compose up Heroku

PyManGenerator is a token generator for discord, it joins servers using webbot to automate everything

PyManGenerator is a token generator for discord, it joins servers using webbot to automate everything. Captcha can be done by itself unless you used your current IP Address more than once.

Find rare users in discord servers

BadgeScraper Find rare users in discord servers How to use Replace the guild_id, server_id and token by the values you wanna use If you never used dis

Administration Panel for Control FiveM Servers From Discord
Administration Panel for Control FiveM Servers From Discord

FiveM Discord Administration Panel Version 1.0.0 If you would like to report an issue or request a feature. Join our Discord or create an issue. Contr

Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts.
Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts.

AntiScam Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts. How to

Comments
  • War in Ukraine

    War in Ukraine

    Since the start of the Ukraine war in 2022, I have not been able to see or connect to the TV shows link ending in .ru-tk shown in the settings. I can do movies since that link is in Mexico. Has the war in Ukraine cutoff the russian link for TV shows? Is there a new link I can insert into the settings for TV shows?

    bug question 
    opened by perryaa 2
Releases(v1.0.2)
  • v1.0.2(Oct 31, 2022)

  • v1.0.1(Oct 31, 2022)

  • v1.0.0(Jun 23, 2022)

  • v0.2.2(Jun 11, 2022)

  • v0.2.1(Mar 9, 2022)

    Only thing changed in this version was the domain name since the old one was taken by the registrar.

    Full Changelog: https://github.com/DEADSEC-SECURITY/popcorn-time-api/compare/v0.2.0...v0.2.1

    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Jan 23, 2022)

    Full Changelog: https://github.com/DEADSEC-SECURITY/popcorn-time-api/compare/v0.1.2...v0.2.0

    • Added a new function get_best_torrent that will replace the deprecated function get_best_quality_torrent
    Source code(tar.gz)
    Source code(zip)
  • v0.1.2(Jan 23, 2022)

  • v0.1.1(Jan 8, 2022)

    Version numbering fix

    Full Changelog: https://github.com/DEADSEC-SECURITY/popcorn-time-api/compare/v0.1.0...v0.1.1

    Added:

    • Support for random movies and shows
    • Support for getting server status
    • Support for getting show/movies stats
    • Bug fix

    What's Changed

    • V0.0.3 server status by @DEADSEC-SECURITY in https://github.com/DEADSEC-SECURITY/popcorn-time-api/pull/6
    • V0.0.3 add random movie show by @DEADSEC-SECURITY in https://github.com/DEADSEC-SECURITY/popcorn-time-api/pull/7

    Full Changelog: https://github.com/DEADSEC-SECURITY/popcorn-time-api/compare/v0.0.2...v0.1.0

    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Jan 8, 2022)

    Added:

    • Support for random movies and shows
    • Support for getting server status
    • Support for getting show/movies stats
    • Bug fix

    What's Changed

    • V0.0.3 server status by @DEADSEC-SECURITY in https://github.com/DEADSEC-SECURITY/popcorn-time-api/pull/6
    • V0.0.3 add random movie show by @DEADSEC-SECURITY in https://github.com/DEADSEC-SECURITY/popcorn-time-api/pull/7

    Full Changelog: https://github.com/DEADSEC-SECURITY/popcorn-time-api/compare/v0.0.2...v0.1.0

    Source code(tar.gz)
    Source code(zip)
  • v0.0.2(Jan 6, 2022)

Owner
Antonio
Python developer
Antonio
qualysclient - a python SDK for interacting with the Qualys API

qualysclient - a python SDK for interacting with the Qualys API

null 5 Oct 28, 2022
A python wrapper for interacting with the LabArchives API.

LabArchives API wrapper for Python A python wrapper for interacting with the LabArchives API. This very simple package makes it easier to make arbitra

Marek Cmero 3 Aug 1, 2022
Python 3 tools for interacting with Notion API

NotionDB Python 3 tools for interacting with Notion API: API client Relational database wrapper Installation pip install notiondb API client from noti

Viet Hoang 14 Nov 24, 2022
Python SDK for interacting with the Frame.io API.

python-frameio-client Frame.io Frame.io is a cloud-based collaboration hub that allows video professionals to share files, comment on clips real-time,

Frame.io 37 Dec 21, 2022
A simple library for interacting with Amazon S3.

BucketStore is a very simple Amazon S3 client, written in Python. It aims to be much more straight-forward to use than boto3, and specializes only in

Jacobi Petrucciani 219 Oct 3, 2022
A napari plugin for visualising and interacting with electron cryotomograms

napari-subboxer A napari plugin for visualising and interacting with electron cryotomograms. Installation You can install napari-subboxer via pip: pip

null 3 Nov 25, 2021
Example code for interacting with solana anchor programs - candymachine

candypy example code for interacting with solana anchor programs - candymachine THIS IS PURELY SAMPLE CODE TO FORK, MODIFY, UNDERSTAND AND INTERACT WI

dubbelosix 3 Sep 18, 2022
WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate.

WatonAPI is an API used to connect to spigot servers with the WatonPlugin to communicate. You can send messages to the server and read messages, making it useful for cross-chat programs.

Waton 1 Nov 22, 2021
A Serverless Application Model stack that persists the $XRP price to the XRPL every minute as a TrustLine. There are no servers, it is effectively a "smart contract" in Python for the XRPL.

xrpl-price-persist-oracle-sam This is a XRPL Oracle that publishes external data into the XRPL. This Oracle was inspired by XRPL-Labs/XRPL-Persist-Pri

Joseph Chiocchi 11 Dec 17, 2022
Barbot is a discord bot made from discord.py and python, barbot is most to fun and roleplay for servers!

BarBot Main source of barbot Overview Barbot is a discord bot made from discord.py and python, barbot is most to fun and roleplay for servers! Links i

AlexyDaCoder 3 Nov 28, 2021