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 python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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