1.0.8 • Published 4 years ago

songsterr-api-node v1.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

songsterr-api-node

npm bundle size Code Climate maintainability npm NPM

Unoffical module to fetch tabs from Songsterr's API.

Installation

npm i songsterr-api-node

Usage

const { songsterrSearch } = require("songsterr-api-node")

const fetch = async string => {
    const results = await songsterrSearch(string)
    console.log('Tabs')
    console.log(results)
}

fetch('track or artist')

Why?

This module also transform's the original result's tuning array to one that makes sense.

Before

console.log(results[0].tracks[0].tuning)
[ 64, 59, 55, 50, 45, 40 ]

After

console.log(results[0].tracks[0].tuning)
{
    octave: 'E2 A2 D3 G3 B3 E4',
    note: 'e A D G B E',
    name: 'Standard tuning'
}
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago