Skip to main content

Stremio-API

A lightweight, asynchronous Python wrapper for the Stremio API.

Features

  • ✨ Async functionality using httpx
  • 👤 User authentication and profile management
  • 📚 Library and Addon collection access
  • 📺 "Continue Watching" synchronization
  • 🎬 Metadata fetching (via Cinemeta)

Installation

pip install stremio-api

Quick Start

You can log in directly using your Stremio credentials:

import asyncio
from stremio_api import StremioAPIClient

async def main():
    # Initialize without an auth key (or with None)
    async with StremioAPIClient(auth_key=None) as client:
        # Login with email and password
        auth_key = await client.login("your.email@example.com", "your_password")
        print(f"Logged in! New Auth Key: {auth_key}")

        # Get user info
        user = await client.get_user()
        print(f"User profile: {user.email}")

        # Fetch Continue Watching items
        watching = await client.get_continue_watching(limit=5)
        for item in watching:
            print(f"Watching: {item.name}")

if __name__ == "__main__":
    asyncio.run(main())

Usage with Existing Auth Key

If you already have an authKey (e.g. from local storage), you can skip the login:

client = StremioAPIClient(auth_key="YOUR_EXISTING_KEY")
user = await client.get_user()

Metadata

Release files for stremio-api 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stremio-api 0.1.0
File Size Uploaded Provenance
stremio_api-0.1.0.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stremio-api 0.1.0
File Interpreter ABI Platform
stremio_api-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / stremio_api-0.1.0.tar.gz

Download URL stremio_api-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f57f113b7e7c2734d0b3fb7d4f7df758b29f1a63828d8714ece800a3cff25b5e
BLAKE2b-256 checksum
How to use checksums
ec22de234c97a3d59206cabeab0602b1f2edb48fcb32243b77fdadb52ffeeea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / stremio_api-0.1.0-py3-none-any.whl

Download URL stremio_api-0.1.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a5f97704c984b1588c341e52b5d90b8e2eddc1e4e16c588feb937bbe6963ae4
BLAKE2b-256 checksum
How to use checksums
2622ca458649f9af8a6f5b0720b1fa5f4e1b0487b4ed4465085b247c50bf3c69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for stremio-api 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page