searchitunes
Advanced tools
Comparing version 2.5.0 to 2.5.1
// Load module | ||
const itunes = require ('searchitunes'); | ||
// Search parameters | ||
const parameters = { | ||
// Find an app | ||
itunes ({ | ||
entity: 'software', | ||
@@ -11,6 +11,4 @@ country: 'NL', | ||
price: 0, | ||
}; | ||
// Do the search | ||
itunes ({ parameters }) | ||
}) | ||
.then (data => console.dir (data, { | ||
@@ -17,0 +15,0 @@ depth: null, |
@@ -9,3 +9,3 @@ { | ||
"description": "Search the Apple iTunes Store and App Store with this lightweight module", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
@@ -16,3 +16,3 @@ # searchitunes | ||
// Find free Github app for iPhone in Dutch App Store | ||
const params = { | ||
searchitunes ({ | ||
entity: 'software', | ||
@@ -23,5 +23,3 @@ country: 'NL', | ||
price: 0, | ||
}; | ||
searchitunes (params) | ||
}) | ||
.then (console.log) | ||
@@ -90,12 +88,2 @@ .catch (console.error) | ||
### Errors | ||
message | description | ||
:----------------|:-------------------------------------------- | ||
http error | API communication failed | ||
invalid response | API returned unreadable data, see `err.body` | ||
invalid params | Client provided no or invalid parameters | ||
no results | No results received | ||
## Unlicense | ||
@@ -126,3 +114,3 @@ | ||
For more information, please refer to <http://unlicense.org/> | ||
For more information, please refer to <https://unlicense.org/> | ||
@@ -129,0 +117,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
8684
134
118