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
The gPodder podcast client.

___ _ _ ____ __ _| _ \___ __| |__| |___ _ _ |__ / / _` | _/ _ \/ _` / _` / -_) '_| |_ \ \__, |_| \___/\__,_\__,_\___|_| |_

gPodder and related projects 1.1k Jan 04, 2023
Template to create a telegram bot in python

Template for Telegram Bot Template to create a telegram bot in python. How to Run Set your telegram bot token as environment variable TELEGRAM_BOT_TOK

Ali Hejazizo 12 Aug 14, 2022
Periodically check the manuscript state in the scholar one system and send email when finding a new state.

ScholarOne-manuscript-checker Periodically check the manuscript state in the scholar one system and send email when finding a new state. Parameters ne

2 Aug 18, 2022
Secret messaging app which you can use to communicate with your friends by encrypting / decrypting secret messages or sending secret message through mail.

Secret-Whisper A Secret messaging app which you can use to communicate with your friends by encrypting / decrypting secret messages 🀫 or sending secr

3 Jan 01, 2022
WikiChecker - Repositorio oficial del complemento WikiChecker para NVDA.

WikiChecker Buscador rΓ‘pido de artΓ­culos en Wikipedia. IntroducciΓ³n. El complemento WikiChecker para NVDA permite a los usuarios consultar de forma rΓ‘

2 Jan 10, 2022
Syrax Check User Bot Discord.py

Syrax-Check-User-Bot-Discord.py Guida Italiana il bot nasce con lo scopo di poter caricare il proprio nome utente,tag e foto profilo al forum tramite

Pippoide 0 Feb 04, 2022
Hacktoberfest2021 - Submit Just 4 PRs to earn SWAGS and TshirtsπŸ”₯

dont contribute in this repo, contribute only in below mentioned repo Special Note For Everyone ''' always make more then 4 pull request lets you have

Keshav Singh 820 Jan 02, 2023
A Telegram Calculator to calculate your maths sums

CalculatorBot A Telegram Calculator to calculate your maths sums! Made by /Team

TeamOctave 2 Dec 31, 2021
Uploader-Bot - A Modified Telegram Url Uploader Bot With Mongodb, Zee5, Sonyliv Support and Many Other Yt-dlp Sites

πšπšŽπššπšžπš’πš›πšŽπš πš…πšŠπš›πš’πšŠπš‹πš•πšŽπšœ πŸ”Š APP_ID API_HASH TG_BOT_TOKEN DATABASE_URL

11 Sep 10, 2022
FTX auto lending bot with python

FTX auto lending bot Get the API key Check my article for step by step + screenshots Setup & Run Install python 3 Install dependency pip install -r re

Patompong Manprasatkul 1 Dec 24, 2021
An anime themed telegram group management bot based on sqlalchemy database running on python3.

Kazuko Robot A Telegram Python bot running on python3 forked with saitama and DiasyX with a sqlalchemy database and an entirely themed persona to make

heyaaman 22 Dec 07, 2022
Updater for PGCG (Paradox Game Converters Group) converters written in Python.

Updater Updater for PGCG (Paradox Game Converters Group) converters written in Python. Needs to be put inside an "Updater" directory in the root conve

Paradox Game Converters 2 Jan 10, 2022
42-event-notifier - 42 Event notifier using 42API and Github Actions

42 Event Notifier 42μ„œμšΈ Agenda에 μƒˆλ‘œμš΄ μ΄λ²€νŠΈκ°€ λ“±λ‘λ˜λ©΄ μ•Œλ €λ“œλ¦½λ‹ˆλ‹€! ν˜„μž¬λŠ” Github Issue둜 λ“±λ‘λ˜λ―€λ‘œ 상단

6 May 16, 2022
This is a small package to interact with the OpenLigaDB API.

OpenLigaDB This is a small package to interact with the OpenLigaDB API. Installation Run the following to install: pip install openligadb Usage from o

1 Dec 31, 2021
This Is Advanced Version Of Old Radio Player, An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats.

Telegram Radio Player V2 An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats. This is also the source code of the bot which is being u

SAF ONE 81 Dec 03, 2022
A Telegram Bot to Extract Various Types Of Archives

IDN Unzip Bot A Telegram Bot to Extract Various Types Of Archives Features Extract various types of archives like rar, zip, tar, 7z, tar.xz etc. Passw

IDNCoderX 8 Jul 25, 2022
DeFi wallet on Chia Network.

DeFi wallet on Chia Network.

GobyWallet 21 Aug 12, 2022
Use GitHub Actions to create a serverless service.

ActionServerless - Use GitHub Actions to create a serverless service ActionServerless is an action to do some computing and then generate a string/JSO

107 Oct 28, 2022
Gnosis-py includes a set of libraries to work with Ethereum and Gnosis projects

Gnosis-py Gnosis-py includes a set of libraries to work with Ethereum and Gnosis projects: EthereumClient, a wrapper over Web3.py Web3 client includin

Gnosis 93 Dec 23, 2022
Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram VCVideoPlayBot An Telegram Bot By @ZauteKm To Stream Videos in Telegram Voice Chat. NOTE: Make sure you have started a VoiceChat in your Grou

Zaute 20 Oct 21, 2022