Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Thread Closed 
Problem: Newbie questions: web interface login, Spotify and radio stations
#8
(01-24-2024, 12:25 AM)Nutul Wrote: Cool, but how did you get that json object from?

It's the example from the Github page, here: https://github.com/microlinkhq/spotify-url-info

I would try it myself, but I am not sure what the author means by the following:

In order to use the library, you have to provide the fetch agent to use:
const fetch = require('isomorphic-unfetch')
const { getData, getPreview, getTracks, getDetails } =
 require('spotify-url-info')(fetch)

As I said, I am not a coder. I can write simple shell scripts and do other basic linux sysadmin/server tasks, but not actual coding.

I would guess that by "fetch agent" he means something like wget, but that's just a guess.


Messages In This Thread
RE: Newbie questions: web interface login, Spotify and radio stations - by cogitech - 01-24-2024, 12:44 AM

Forum Jump: