-
Notifications
You must be signed in to change notification settings - Fork 1
API Call
Thomas Starzynski edited this page Jun 4, 2019
·
4 revisions
| Model | Itunes API route | |
|---|---|---|
| Movie | ||
| Documentary | ||
| Serie | ||
| Podcast | ||
| Audiobook |
fetch("https://cors-anywhere.herokuapp.com/https://itunes.apple.com/search?media=movie&term=jack")
.then((response) => response.json())
.then((data) => {
data.results.forEach((result) => {
console.log(`${result.trackName}(${result.releaseDate.substring(0,4)}) [${result.kind}]`)
})
});