New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tripleapi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tripleapi

Welcome to the Triple API wrapper.

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Triple

Welcome to the Triple API wrapper.

This was made by Tom (Owner). Our website can be viewed at https://itstriple.net.

Our original API can be viewed at https://api.itstriple.net with valid routes being:

  • /stats
  • /streams
  • /history

Wrapper Documentation

Below you can see a simple example:

const triple = require('tripleapi');

async function run() {

    console.log(`Listeners: ${await(triple.listeners())}`);
    console.log(`Now Playing: ${await(triple.nowplaying())}`);
    console.log(`Live DJ: ${await(triple.dj())}`);
    console.log(`Artwork: ${await(triple.artwork())}`);
};

run();

Retrive all stats and output in a JSON format:

const triple = require('tripleapi');

async function run() {

    console.log(await(triple.all()));
};

run();

Keywords

api

FAQs

Package last updated on 13 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts