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
Shuffle and add items from jellyfin to mpd (use in tandem with jellyfin-mopidy and mpd-mopidy). Similar to ncmpcpp's "Add random" feature..

jellyshuf Essentially implements ncmpcpp's add random feature (default hotkey: `) through a script which grabs info from jellyfin api itself. jellyfin

Ethan Djeric 2 Dec 14, 2021
Example of a discord bot in Python

discordbot.py Example of a discord bot in Python Requirements Python 3.8 or higher Discord Bot Setting Up Clone this repo or download the files Rename

Debert Jamie 1 Oct 23, 2021
Rapid Sms Bomber For Indian Number.

Bombzilla Rapid Sms Bomber For Indian Number. Installation git clone https://github.com/sarv99/Bombzilla cd Bombzilla chmod +x setup.sh ./setup.sh Af

Saurav Jangid 1 Jan 12, 2022
The official command-line client for spyse.com

Spyse CLI The official command-line client for spyse.com. NOTE: This tool is currently in the early stage beta and shouldn't be used in production. Yo

Spyse 43 Dec 08, 2022
Discord Token Generator based on HTTPX, makes unverified tokens and automatically joins your server! this is used for memberboosting

Discord Token Generator | 2021 Features: (1) hCaptcha Bypasser, latest hfuck.py Updated by me (2) Free Proxy Support/Scrapper (3) Custom Realistic Dat

2 Nov 30, 2021
N3RP (the NFT Rental Protocol) allows users to trustlessly rent out their ERC721-based assets.

N3RP β€’ N3RP - An NFT Rental Protocol (pronounced "nerp") Smart Contracts Passing Tests, Frontend Functional But Is Being Beautified. πŸ›  Introduction T

Grant Stenger 56 Dec 07, 2022
A head unit UI designed to replace the RTx/SMEG/RNEG/NG4/RCC/NAC

HeadUnit UI (Come discuss about it on our Discord!) Intro This is the UI part of a headunit project from OpenLeo, based on python and kivy, it looks l

OpenLeo 6 Nov 23, 2022
Deepak Clouds Torrent is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive.

Deepak Clouds Torrent is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive.

Deepak Clouds 37 Oct 28, 2022
Trellox Tool is written in Python3 and designed to pull and list Trello boards.

TrelloX Trellox Tool is written in Python3 and designed to list and pull Trello boards. It can be used by penetration testers/bug bounty hunters to de

Ali Fathi Ali Sawehli 1 Dec 05, 2021
Create Discord Accounts Semi-Automatically Without Captcha Solving API Key

Discord-Account-Generator Create Discord Accounts Semi-Automatically without captcha solving api key IMPORTANT: Your chromedriver version should be th

NotSakshyam 11 Mar 21, 2022
A Rich renderable for viewing Multiple Sequence Alignments in the terminal.

rich-msa A simple module to render colorful Multiple Sequence Alignment with rich in the terminal. πŸ”§ Installing Install the rich-msa package directly

Martin Larralde 64 Dec 04, 2022
Notion API Database Python Implementation

Python Notion Database Notion API Database Python Implementation created only by database from the official Notion API. Installing / Getting started p

minwook 78 Dec 19, 2022
Discord bot that plays cricket with the user

CricBot Table of content Commands Installation Game rules License Commands S.No Command Use 1. cric Open the home window. This command is not necessa

Raveesh Yadav 1 Nov 19, 2021
A telegram string extractor bot

Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License - https://github.com/FayasNoushad/String-Extract-Bot/blob/main/LIC

Fayas Noushad 12 Jul 19, 2022
SMAM2 is a package manager built specifically for SourceMod.

SourceMod Addon Manager 2 (SMAM2) SMAM2 is a package manager built specifically for SourceMod. This was heavily inspired by Phil25's SMAM. I thought t

John Mascagni 6 Sep 16, 2022
Using DST's API with Python

A short guide on how to access Denmark's Statistics API with python, together with a helper class that facilitates the collection of data and metadata from any DST's table

Alessandro Martinello 16 Dec 02, 2022
RP2 is a privacy-focused, free, open-source US cryptocurrency tax calculator

Privacy-focused, free, open-source cryptocurrency US tax calculator, up to date for 2021: it handles multiple coins/exchanges and computes long/short-term capital gains, cost bases, in/out lot relati

eprbell 123 Jan 04, 2023
Sends notifications when Pokemon Center products are in stock

Sends notifications when Pokemon Center products are in stock! If you use this for scalping, I will break your kneecaps

2 Jan 20, 2022
πŸ‘¨β€πŸ’ΌLinkedin API for Python

linkedin_api πŸ‘¨β€πŸ’Ό Linkedin API for Python No "official" API access required - just use a valid Linkedin account! Programmatically send messages, get

Tom Quirk 918 Dec 29, 2022