Present the JSON data to die user in readable HTML

Assignment Help JAVA Programming
Reference no: EM133263404

EJS, API and Forms

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: EM133263404

Questions Cloud

Discuss cloud computing environment : Discuss the cloud computing environment, conduct some research on the major companies in the sector, and each of their advantages.
What is network topology : What is a network topology? Describe the major network topologies. Define a computer network.
Discuss the transportation management systems : Discuss the transportation management systems (Software) the company in questions uses to manage their day to day business
Benchmarking mistakes by anne evans online : Determine which mistake you would be most apt to make and explain why it is the most important one to avoid.
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)

Reviews

Write a Review

JAVA Programming Questions & Answers

  What is the purpose of using javascript on a website

What is the purpose of using JavaScript on a website. What is a specific example of a JavaScript application that will be beneficial on the site you are creating. Use an example other than from validation.

  Prepare a progrma using if else statements

You need to write a program that uses if else statements(No switch) that declares 2 numbers as variables.

  Major differences between searching and sorting in java

What are the major differences between searching and sorting in Java? What are some of the differences in the techniques used in selection sorting.

  Write a script that enables the user to enter a value

Function Celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calcuation: C = 5.0 / 9.0 * (F-32);

  Shell sort and bubble sort

Shell sort is a variation of the bubble sort. Instead of comparing adjacentvalues, the Shell sort adapts a concept from the binary search to determine a gap

  You are a mighty warrior and armed with your trusty bow and

you are a mighty warrior and armed with your trusty bow and 3 arrows you enter the caves in search of the mighty

  Calculate the vertical and horizontal components of u

Calculate the vertical and horizontal components of u (the launch velocity) using the following trigonometric identities:

  Draw a map for game scenario

Draw a map for game scenario - Write a brief description of your game in your word document - This map must also be placed in the Word document

  Report the last letter of each word in the string

Write a sequence of Java statements that report the last letter of each word in the string.

  Create a program that keeps track of specific information

Create a program that keeps track of specific information for Students - Make sure the method printTennisPlayers() is printing the contents of the ArrayList

  Write a program that reads a list of real numbers.

Write a program that reads a list of real numbers. After the program ends it should print out only the unique numbers

  Two java application using java netbeans ide

The application should ask the user to enter annual sales, and it should display the total annual compensation.

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