Skip to content

NodeJS client to interact with the streamable.com API

Notifications You must be signed in to change notification settings

madkarmaa/streamable.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

NodeJS client to interact with the Streamable API

Important

Not compatible with browsers because they restrict the access to the Set-Cookie request header, which is vital for the client to keep the user logged in, since it contains the session cookies.

Caution

The use of this library is against the Streamable's Terms of Service, specifically in this line, so use it at your own risk.

⚙️ Installation

npm install @madkarma/streamable-js

❓ How to

Once the package is installed, you can import the library:

const StreamableClient = require('@madkarma/streamable-js');

Basic usage

const StreamableClient = require('@madkarma/streamable-js');

// Create an instance of the Streamable client
const client = new StreamableClient();

// Start a new client session using your account credentials
client.login('[email protected]', 'examplePassword').then(async () => {
    // You're now logged in! Let's try it out!

    const { email } = await client.getUserData();
    console.log(email); // Example output: '[email protected]'

    // Your code here...
});