uf0 / musixmatch-scripts

some scripts to get stuff from musixmatch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Installation If you want to run these scripts locally on your machine, be sure you have the following requirements installed.

###Requirements

Clone musixmatch-scripts from the command line:

$ git clone https://github.com/uf0/musixmatch-scripts.git

browse to musixmatch-scripts root folder:

$ cd musixmatch-scripts

install node dependencies:

$ npm install

edit configuration file

$ cp config.sample.js config.js

open config.js file and add you API key

add data folder

$ mkdir data

####Get tracks from list of words

add words file

$ touch data/words.json

open words.json file insert the words to search for as an array

[
  'rappresaglia',
  'bella ciao',
  'libertà strada per strada'
]

run the script

$ node getTracks.js

####Get album date from list of album_id

add album_id file

$ touch data/album_id.json

open album_id.json file insert the ids to search for as an array

[
  '10266325',
  '10277068',
  '10277146'
]

run the script

$ node getAlbumDate.js

About

some scripts to get stuff from musixmatch

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%