Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@drippy-music/soundcloud-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drippy-music/soundcloud-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

index.d.ts

@@ -19,2 +19,8 @@ declare class SoundCloud {

/**
* Get any playlist metadada by given id
* @param playlist_id The playlist's unique id
*/
getPlaylist(playlist_id: string): Promise<object>;
/**
* Get any track metadada by given id

@@ -21,0 +27,0 @@ * @param track_id The track's unique id

@@ -22,2 +22,10 @@ const axios = require('axios').default;

async getPlaylist(playlist_id) {
const res = await axios.get(`/playlists/${playlist_id}`, {
baseURL: api_url,
params: { client_id: this.client_id }
});
return res.data;
}
async getTrack(track_id) {

@@ -24,0 +32,0 @@ const res = await axios.get(`/tracks/${track_id}`, {

4

package.json
{
"name": "@drippy-music/soundcloud-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "SoundCloud RESTful API for Node.JS",

@@ -8,3 +8,3 @@ "main": "index.js",

"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"deploy": "npm publish --access public"
},

@@ -11,0 +11,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc