2026-07-27 04:28:33 -07:00
2026-07-27 04:28:33 -07:00
2026-07-27 04:28:33 -07:00
2026-07-27 04:28:33 -07:00
2026-07-27 04:28:33 -07:00
2026-07-27 04:28:33 -07:00
2026-07-27 04:28:33 -07:00
2026-07-27 04:28:33 -07:00

vyla/sdk

VylaSDK is a javascript base version of Vyla's stream & scrape api, allowing developers to access content providers directly without using a REST api. This gives you the power & updates of Vyla without the headaches of api keys & server reliability.

Installing

To start, install VylaSDK through npm or pnpm:

# npm
npm install @vyla-entertainment/sdk

# pnpm
pnpm install @vyla-entertainment/sdk

Usage

Start by creating a VylaSDK element with your TMDB api key.

import VylaSDK from "@vyla-entertainment/sdk";

const sdk = new VylaSDK({
    tmdbApiKey: ...
});

You can now use this to access Vyla's content.

// Get sources
// Args: excludeDisabled
sdk.getSources(false);

// Get subtitles
// Args: tmdb id, season?, episode?
await sdk.getSubtitles('0000000', null, null); -> {label, file, type, source}[]

// Probe & test a source
// Args: source key
await sdk.probeSource('nebula'); -> {ok, ms}

// Probe & test all sources
await sdk.probeAllSources(); -> {'key': {ok, ms}, ...}
Description
No description provided
Readme CC-BY-4.0 600 KiB
Languages
JavaScript 100%