disconnect
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,5 @@ | ||
1.0.2 / 2016-11-10 | ||
================== | ||
* Added `collection().getReleaseInstances()` | ||
1.0.1 / 2016-11-03 | ||
@@ -2,0 +6,0 @@ ================== |
@@ -103,2 +103,14 @@ 'use strict'; | ||
/** | ||
* Get the instances of a release in a user's collection | ||
* @param {string} user - The user name | ||
* @param {(number|string)} release - The release ID | ||
* @param {function} [callback] - The callback | ||
* @returns {DiscogsClient|Promise} | ||
*/ | ||
collection.getReleaseInstances = function(user, release, callback){ | ||
return client.get('/users/'+util.escape(user)+'/collection/releases/'+release, callback); | ||
}; | ||
/** | ||
* Add a release instance to the (optionally) given collection folder | ||
@@ -105,0 +117,0 @@ * @param {string} user - The user name |
{ | ||
"name": "disconnect", | ||
"description": "A full featured Discogs API v2.0 client library", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"keywords": ["discogs", "api", "client", "oauth"], | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/bartve/disconnect", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63590
1383