Package Exports
- @eulerstream/euler-api-sdk
- @eulerstream/euler-api-sdk/dist/index.js
- @eulerstream/euler-api-sdk/dist/sdk/api
- @eulerstream/euler-api-sdk/dist/sdk/api.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eulerstream/euler-api-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
EulerStream API SDK
This is an API wrapper for the Euler Stream API written in TypeScript. With this API you can access any Euler Stream public endpoint.
Enterprise Solutions
![]() |
Euler Stream is a paid TikTok LIVE service providing managed TikTok LIVE WebSocket connections, increased access, TikTok LIVE alerts, JWT authentication and more. |
Community
Join the EulerStream discord for questions, concerns, or just a good chat.
Getting Started
Getting started is super simple! Remember to check out the OpenAPI Spec on the Euler Stream website at https://www.eulerstream.com/docs/openapi.
For your convenience, we have included a hello-world example using this SDK:
- Install the package with
npm i @eulerstream/euler-api-sdk
- Run the script below:
import EulerStreamApiClient, {IListAlertsResponse, IPipResponse} from "@eulerstream/euler-api-sdk";
import {AxiosResponse} from "axios";
// Initialize the client
const client = new EulerStreamApiClient(
{apiKey: 'YOUR_API_KEY'}
);
// Fetch an endpoint
client.webcast.fetchWebcastURL('ttlive-node', undefined, 'tv_asahi_news').then((res: AxiosResponse<any>) => console.log("Got Webcast Fetch:", res.status, "Length:", JSON.stringify(res?.data).length));