Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drkain/audd.io
A NodeJS package used to interact with the music recognition API provided by Audd.io
https://github.com/drkain/audd.io
Last synced: 2 days ago
JSON representation
A NodeJS package used to interact with the music recognition API provided by Audd.io
- Host: GitHub
- URL: https://github.com/drkain/audd.io
- Owner: DrKain
- License: mit
- Created: 2021-03-24T20:59:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-05T07:07:00.000Z (over 2 years ago)
- Last Synced: 2024-10-01T09:29:52.925Z (2 days ago)
- Language: TypeScript
- Size: 45.9 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# audd.io
[![NPM](https://img.shields.io/npm/v/audd.io)](https://www.npmjs.com/package/audd.io) [![NPM](https://img.shields.io/npm/dt/audd.io)](https://www.npmjs.com/package/audd.io) [![NPM](https://img.shields.io/npm/types/audd.io)](https://www.npmjs.com/package/audd.io)
## **What is this?**
A NodeJS package used to interact with the music recognition API provided by [Audd.io](https://docs.audd.io/) in the easiest way possible.
You can get an `api_token` for free at [https://dashboard.audd.io/](https://dashboard.audd.io/).### Install
```
npm install audd.io
```### Usage
```javascript
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');
```### Documentation:
Each endpoint contains `fromFile` and `fromURL`, they return different information based on what endpoint you use.
[audd.enterprise](https://github.com/DrKain/audd.io/wiki/Enterprise)
[audd.recognize](https://github.com/DrKain/audd.io/wiki/Recognize)
[audd.recognizeWithOffset](https://github.com/DrKain/audd.io/wiki/RecognizeWithOffset)