-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Dependencies:
- back-end: Scan filesystem (Scan filesystem #19), Load Data from API (Load Movie/Series details from external API #20)
Write a function that accepts the Output of “scan filesystem (#19)” as input, loads additional information from an external API (#20) and combines the data to create an object that includes every necessary data. The structure could look something like
{
[{
name: "South Park",
description: "...",
imdbRating: 8.8,
imdbUrl: …,
cover: "/img/cover/southpark.jpg",
fileSytemRoots: [],
…
seasons: [
{
no: 1
started: …,
ended: …,
episodes: [
{
no: 1,
name: …
location: "\\nas1\\..."
descrption: ".."”
imdbRating: …
...
}
]
}
]
}...]
}