itunes-helper
v1.0.6
Published
Library to simplify using the iTunes API.
Downloads
5
Readme
iTunes-Helper
Simplifies usage of the iTunes Api.
Installation
Node:
npm install itunes-helper
const iTunesHelper = require('itunes-helper')
In Webbrowser:
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://unpkg.com/itunes-helper/lib/itunes-helper.min.js"></script>
Usage
Search API:
iTunesHelper
.search({
term: 'game of thrones',
country: 'DE',
limit: 1,
})
.then(res => console.log(res))
Lookup API:
iTunesHelper
.lookup({
id: 1256129534,
country: 'DE',
})
.then(res => console.log(res))