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
A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Forward A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag

16 Oct 21, 2022
Trading bot rienforcement with python

Trading_bot_rienforcement System: Ubuntu 16.04 GPU (GeForce GTX 1080 Ti) Instructions: In order to run the code: Make sure to clone the stable baselin

1 Oct 22, 2021
Mixcloud API wrapper for Python and Async IO

aiomixcloud Mixcloud API wrapper for Python and Async IO aiomixcloud is a wrapper library for the HTTP API of Mixcloud. It supports asynchronous opera

Aristotelis Mikropoulos 26 Dec 31, 2022
Wechat based auto reply with pyautogui

Python-微信 自动回复 练手~ 一直想做个给微信发个消息,就可以跑Python程序,并将结果发送给我的东西,之前看了 B站@不高兴就喝水 的视频,终于有了灵感~ 使用的是模拟点击方案,请求期间是不能操作了。 库 pyautogui 用于模拟鼠标键盘操作和定位操作位置 pyperclip 剪贴板

Vito Song 1 Oct 22, 2022
Python version of PlaceNL's headless bot with automatic access token refresh

Reddit /r/place 2022 headless bot This headless Python bot will automatically login to reddit, obtain access tokens (and refreshes them when they expi

19 May 21, 2022
Public repo of the bot

wiki-reddit-bot Public repo of u/wikipedia_answer_bot Tools Language: Python Libraries: praw (Reddit API) mediawikiapi (Wikipedia API) tenacity How it

TheBugYouCantFix 51 Dec 03, 2022
Interact and easily use Google Chat room webhooks.

Chat Webhooks Easily interact and send messages with Google Chat's webhooks feature. This API is small, but should be a nice framework for working wit

BD103 2 Dec 13, 2021
A Twitter Bot that retweets and likes tweets with the hashtag #girlscriptwoc and #girlscript, and also follows the user.

GirlScript Winter of Contributing Twitter Bot A Twitter Bot that retweets and likes tweets with the hashtag #girlscriptwoc and #girlscript, and also f

Pranay Gupta 9 Dec 15, 2022
Filters to block and remove copycat-websites from DuckDuckGo and Google

uBlock Origin - Shitty Copy-Paste websites filter Filter for uBlock origin to remove spam-website results from DuckDuckGo and Google that just blatant

99 Dec 15, 2022
See GitHub API on terminal

gitbees About gitbees uses the GitHub API to show user data and ``repos` Using Make sure you have a python interpreter and then python gitbees.py Lice

Marcello Belanda 1 Nov 29, 2021
Seems Like Everyone Is Posting This, Thought I Should Too, Tokens Get Locked Upon Creation And Im Not Going To Fix For Several Reasons

Member-Booster Seems Like Everyone Is Posting This, Thought I Should Too, Tokens Get Locked Upon Creation And Im Not Going To Fix For Several Reasons

Mintyz 1 Dec 28, 2021
Source code of BobuxAdmin bot from Bobux Bot Development server.

BobuxAdmin Source code of BobuxAdmin bot from Bobux Bot Development server. The bot is written with usage of disnake and SQLite database. Functionalit

Bobux Bot Developers 3 Dec 29, 2022
Powerful Telegram bot to countdown to your important events in any group chat.

Powerful Telegram bot to countdown to your important events in any group chat. Live countdown timer.

118 Dec 30, 2022
Info & tools for reverse engineering the M6 smart fitness band

m6-reveng This repo contains information and tools for reverse engineering the $7 M6 smart fitness band. Hardware The SoC (system-on-a-chip) is a Teli

41 Dec 26, 2022
Based on nonebot, a common bot framework for maimai.

mai bot 使用指南 此 README 提供了最低程度的 mai bot 教程与支持。 Step 1. 安装 Python 请自行前往 https://www.python.org/ 下载 Python 3 版本( 3.7)并将其添加到环境变量(在安装过程中勾选 Add to system P

Diving-Fish 150 Jan 01, 2023
This script books automatically a slot on Doctolib in one of the public vaccination centers in Berlin.

BOOKING IN BERLINS VACCINATION CENTERS This python script books automatically a slot on Doctolib in one of the public vaccination centers in Berlin. T

17 Jan 13, 2022
Pycardano - A lightweight Cardano client in Python

PyCardano PyCardano is a standalone Cardano client written in Python. The librar

151 Dec 31, 2022
Add Me To Your Group Enjoy With Me. Pyrogram bot. https://t.me/TamilSupport

SongPlayRoBot 3X Fast Telethon Based Bot ⚜ Open Source Bot 👨🏻‍💻 Demo : SongPlayRoBot 💃🏻 Easy To Deploy 🤗 Click Below Image to Deploy DEPLOY Grou

IMVETRI 850 Dec 30, 2022
A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3

Phantom - A multi-platform HTTP(S) Reverse Shell Server and Client Phantom is a multi-platform HTTP(S) Reverse Shell server and client in Python 3. Bi

85 Nov 18, 2022
PyHoroscope - Observational Indian lunisolar calendar, horoscope and matching using the Swiss ephemeris

PyHoroscope Observational Indian lunisolar calendar, horoscope and matching usin

4 Jun 05, 2022