1.0.0 • Published 1 year ago

musicthread v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1.0.0

1 year ago