Current song info from Deezer

A friend of mine just asked if “write to file” can be implemented somehow, like there is for other streaming services. I am now starting to work on a JavaScript based app that will write the current track data into a txt file and save the album cover.