musicthread

1.0.0 • Public • Published

MusicThread

Fully typed API wrapper for the MusicThread API.

Installation

yarn add musicthread

Usage

import MusicThread from 'musicthread'

const mt = new MusicThread(process.env.MT_API_KEY) // optional: api key

// Create a thread
const { thread } = await mt.createThread('Title', 'Description', ['Tag1', 'Tag2'], false)

// Add a link
const link = await thread.addLink('https://www.youtube.com/watch?v=sXpCyrEH1kk')

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i musicthread

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

17.3 kB

Total Files

21

Last publish

Collaborators

  • darnfish