![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@ipmanlk/spotify-grab
Advanced tools
spotify-grab ====================== Extract useful metadata from various Spotify URIs.
Extract useful metadata from various Spotify URIs.
npm i @ipmanlk/spotify-grab
Promise.<(Spotify.Info|undefined)>
Kind: global function
Returns: Promise.<(Spotify.Info|undefined)>
- - Data extracted from the URI.
Throws:
SPOTIFY_URI_PARSE_ERROR
- Unable to parse the given URI.SPOTIFY_UNSUPPORTED_URI_TYPE
- Given URI is not supported.SPOTIFY_REQUEST_FAILED
- Failed to send a request to Spotify.Param | Type | Description |
---|---|---|
URI | string | Spotify URI in any format. Only URIs for tracks, artists, albums and playlists are supported. |
Example
const { getInfo } = require("@ipmanlk/spotify-grab")
const URI = "https://open.spotify.com/track/6habFhsOp2NvshLv26DqMb?si=FkyYtDchRW-L8L2BlCweRw"
getInfo(URI).then(data => {
console.log(data);
}).catch(error => {
console.log(error);
});
//* Output of the above code will take following shape,
{
"type": "track", //* Type of the input URI
"track": { //* Object with the name of above type (dynamic)
"id": "6habFhsOp2NvshLv26DqMb",
"name": "Despacito",
"preview_url": "https://p.scdn.co/mp3-preview/ce2ad348fa47",
"album": {
"name": "VIDA"
},
"explicit": false,
"artists": [
{
"id": "4V8Sr092TqfHkfAA5fXXqG",
"name": "Luis Fonsi",
"uri": "spotify:artist:4V8Sr092TqfHkfAA5fXXqG"
}
]
}
}
FAQs
spotify-grab ====================== Extract useful metadata from various Spotify URIs.
We found that @ipmanlk/spotify-grab demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.