itunes-search-client
Client for itunes search api.
It is designed to make API URL easily by using TypeScript and VSCode.
Usage
import isc from 'itunes-search-client'
(async () => {
const res = await isc('foo').media('music').entity('song').attribute('songTerm').send()
const json = await res.json()
console.log(json);
})()
If you want to use axios
import isc from 'itunes-search-client'
import axios from 'axios'
(async () => {
const url = isc('foo').media('music').entity('song').attribute('songTerm').getUrl()
const { data } = await axios.get(url)
console.log(data);
})()
API
license
MIT