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.1 to 1.0.2

6

index.d.ts

@@ -25,6 +25,6 @@ declare class SoundCloud {

/**
* Get any track metadada by given id
* @param track_id The track's unique id
* Get tracks metadada by given ids
* @param tracks The track id list
*/
getTrack(track_id: string): Promise<object>;
getTracks(...tracks: string[]): Promise<object>;

@@ -31,0 +31,0 @@ /**

@@ -30,6 +30,6 @@ const axios = require('axios').default;

async getTrack(track_id) {
const res = await axios.get(`/tracks/${track_id}`, {
async getTracks(...tracks) {
const res = await axios.get('/tracks', {
baseURL: api_url,
params: { client_id: this.client_id }
params: { client_id: this.client_id, ids: tracks }
});

@@ -36,0 +36,0 @@ return res.data;

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

@@ -5,0 +5,0 @@ "main": "index.js",

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