Need to call the api provided by apple

Assignment Help Python Programming
Reference no: EM133263400

EJS, API and Forms - Python Programming

For this homework you will need to call the API provided by Apple to query music artists. In particular, we will use this endpoint:

In the endpoint above, replace <searchitem> with an artist name of your choice to search for, to test this endpoint in either a browser or Postman. For instance, searching for Metallica would result in the following JSON response:

731_API Forms.jpg

 

We are interested in listing the top 10 results with the following information for each result:
• Artist Name
• Track Name

If there are fewer than 10 results, we want to show them all.

Naturally we don't want to present the user with JSON formatted data, so you will need to present the JSON data to die user in readable and formatted HTML (e.g. in individual labels, in fonn of a list, as individual paragraphs, etc.) The choice is yours.

The user should see a headline on the website stating that this is a website to search for music bands. Also there should be a Text Box where the user enters their search term. You can show the results underneath. you don't have to create a new page for it (you can if you want).

If you use the EJS template from class, make sure you remove the parts of the UI that aren't needed. For instance. there should not be an About page with cars or mascots in your project. and neither the variables for those. Only code that's part of the assignment should be there. If you start this project from scratch without the class template. then you don't have to worry about that.
A sample mockup screen could look like this:

465_API Forms1.jpg

 

Hint: Make sure you understand the hierarchy of the JSON response: The information we need is not directly on the result JSON response of the API call.

EXTRA. CREDIT: Add a checkbox underneath the textbox. This checkbox should have the caption: "Show Album Cover?" and if checked. show the 100x100 icon of each result alongside each result.

Reference no: EM133263400

Questions Cloud

Present the JSON data to die user in readable HTML : Present the JSON data to die user in readable and formatted HTML - Add a checkbox underneath the textbox. This checkbox should have the caption
What are zoom immediate issues : What are Zoom's immediate issues that can be resolved within the case context? What are the more significant problems that need to be solved at another time?
Discuss differences between prosimians-monkeys : Discuss differences between Prosimians, Monkeys, and Apes based on the course materials provided. Must be in complete sentences and paragraphs.
Analyze problem of school and mass shootings : Explain, measure and analyze the problem of school/mass shootings, their causes and possible solutions.
Need to call the api provided by apple : Need to call the API provided by Apple to query music artists - create a new page for it (you can if you want)
Bookmarks appear underlined in document : Bookmarks appear underlined in a document. If you wanted to switch the paper from portrait to landscape, which would you change?
Define structural violence : Clearly define Structural Violence, Symbolic Violence, and Everyday Violence and give an appropriate example of each type of violence.
What are reproductive-adaptive advantages of seeing in-color : What are the survival, reproductive, and adaptive advantages of seeing in-color that non-human primates have over those who cannot see in-color?
Designing sample has significant impact on the results : Designing a sample has a significant impact on the results and hence the recommendations put forward in a business report.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a recursive function called binary search

Write a recursive function called binary_search() that accepts as arguments a number - Write a function decimal() that accepts as input an integer denominator

  Write a program in python that reads in x whole numbers

Write a program in python that reads in X whole numbers and outputs the sum of all positive numbers, the sum of all negative numbers.

  Write a program that prompt the user to enter five numbers

Write a program that prompt the user to enter five positive numbers and calculate the average. When a negative number is entered, program will be terminated.

  Write a program that acts like a simple calculator

You will write a program that acts like a simple calculator for binary numbers. You should read in a string of input that has the format: number operator number.

  Simulate a game of rock-paper-scissors

Write a program that utilizes functions to simulate a game of rock-paper-scissors. Write a program that allows the user to play Rock, Paper, Scissors.

  Write program that will extract the web addresses

write a program that will take this database file and extract the Web addresses that the user visited, the number of times the page was visited and the last

  Create the flowchart for the program in a word document

Create two parallel arrays that represent a standard deck of 52 playing cards. Create the flowchart for the program in a Word document.

  Show an example of your function in use

Function in Python to take in a piece of sample text via a long string and to output a dictionary with each word as a key and it's frequency.

  Python program to find missing number

First line of input contains an integer n ,the number of elements in the given array - Given array consist of n positive numbers and positive integer k

  A stack data structure that uses a linked list for storing

In Python, implement a stack data structure that uses a linked list for storing its elements. In particular, you will need to implement the following three functions: 1. top(): This function returns the element that is at the top of the stack, but it..

  Create a python function called sumofodds which takes one

Create a Python function called sumOfOdds which takes one argument, an integer greater thanor equal to 1, and returns the result of adding the odd integers between 1 and the value of thegiven argument (inclusive).

  CSE3CI - Computational Intelligence for Data Analytics

CSE3CI - Computational Intelligence for Data Analytics Assignment Help and Solution - La Trobe University, Australia - Assessment Writing Service

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd