Status: unstable Don't use it in production yet
Simple, robust Happi.dev API client
npm install https://github.com/jodacame/happi-dev-sdk.git --save
Happi bring new value to your company by driving innovation in many ways. Since APIs are being utilized every day.
It provides free api to discover millions song, artist, albums, covers and lyrics
Search artist or tracks
search(query, limit, type[artist|tracks, default:track])
Get artist information
artist(id_artist)
Get albums from artist
albums(id_artist)
Get tracks from album
tracks(id_artist, id_album)
Generate smart playlist using artist seed
smartPlaylist(id_artist, limit)
Generate smart playlist using bpm range
smartPlaylistByBPM(bpm, limit,genres)
smartPlaylistByBPM(100, 50); // Get smart playlist tempo 100
smartPlaylistByBPM('80-100', 50, 'rock'); // Get smart playlist tempo between 80 and 100 with rock genre
Generate a acrostic playlist using artist seed and first track letter
acrostic(id_artist, message[Max 100 Charactes])
Get track lyrics
lyrics(id_artist, id_album, id_track)
Get track genres
genres()
More info in https://happi.dev/
var happi = require("happi-dev-sdk");
happi.init('YOUR_API_KEY');
var query = 'Aerosmith Jade';
happi.music.search(query, 40).then(response => {
console.log(response);
}).catch(err => {
console.log("Error",err);
});
Ensable or disable cache
// Enable
happi.cache.on();
// Disable
happi.cache.off();
- Redis cache
- Documentation
- API: Exchange Rate
- API: IP Address
- API: Key/Value store
- API: Password Generator
- API: QR Code