Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@eulerstream/euler-api-sdk

eulerstream16kMIT0.1.7TypeScript support: included

Node.js module for interacting with the Euler Stream TikTok LIVE API.

tiktok, tiktok live, tiktok.com, live, stream, livestream, chat, connector, api, webcast, tracker, scraper, websocket, bot, broadcast, reader

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.

LinkedIn Patrons Connections Downloads Stars Issues

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:

  1. Install the package with npm i @eulerstream/euler-api-sdk
  2. 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));