A NodeJS package used to interact with the music recognition API provided by Audd.io in the easiest way possible.
You can get an api_token
for free at https://dashboard.audd.io/.
npm install audd.io
import { Audd } from 'audd.io';
// const Audd = require('audd.io').Audd;
const audd = new Audd('api_key');
audd.recognize.fromURL('https://example.com/test.mp3');
// or
audd.recognize.fromFile('test.mp3');
Each endpoint contains fromFile
and fromURL
, they return different information based on what endpoint you use.