reelplexi_sdk library

Official Flutter SDK for Reelplexi.

Provides a typed API client and a plug-and-play ReelplexiPlayer widget for integrating African movies and TV series into your Flutter app.

Quick start

import 'package:reelplexi_sdk/reelplexi_sdk.dart';

// 1. Initialise once (e.g. in main())
Reelplexi.init(apiKey: 'sk_live_xxxx');

// 2. Fetch movies
final movies = await Reelplexi.client.movies.list();

// 3. Drop the player anywhere
ReelplexiPlayer.movie(movieId: 123)

Classes

Episode
Lightweight episode summary (no video URL).
Movie
Lightweight movie summary returned from list endpoints.
MovieListResponse
Paginated list of Movie objects.
Pagination
Pagination metadata attached to all list responses.
RatingInfo
Rating information for a movie or TV series.
Reelplexi
Entry point for the Reelplexi Flutter SDK.
ReelplexiClient
The top-level Reelplexi API client.
ReelplexiPlayer
A ready-to-use Reelplexi video player widget.
Season
Season summary containing its episodes.
StreamInfo
Stream URL information returned when requesting playback for a movie or episode.
TVSeries
TV series detail, including seasons and episodes.
TVSeriesListResponse
Paginated list of TVSeries objects (uses same lightweight summary shape).

Exceptions / Errors

ReelplexiException
Typed exception thrown by the Reelplexi SDK.
StreamTokenExpiredException
Thrown when the stream token has expired and the client must re-fetch it.