0.1.1 • Published 6 months ago

@eulerstream/euler-api-sdk v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

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));
0.1.1

6 months ago

0.1.0

6 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago