Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Write an algorithm for the attached json file that removes the items along with

by | Nov 23, 2022 | Data analysis and reports | 0 comments

GET HELP WITH YOUR ESSAY

If you need assistance with writing your essay, our professional Essay Writing Service is here to help!

DISCOUNT CODE FIRST25

ORDER THIS OR A SIMILAR PAPER NOW

Write an algorithm for the attached json file that removes the items along with their:
followers
images
popularity
from every object in the json file
so after running the python script on the json file it should go from this:
{“4Cy6TrPbVlo9OP1MTSONo9”:
{“external_urls”: {“spotify”: “https://open.spotify.com/artist/4Cy6TrPbVlo9OP1MTSONo9”},
“followers”: {“href”: null, “total”: 54682},
“genres”: [“jawaiian”, “pacific islands pop”],
“href”: “https://api.spotify.com/v1/artists/4Cy6TrPbVlo9OP1MTSONo9”,
“id”: “4Cy6TrPbVlo9OP1MTSONo9”,
“images”: [{“height”: 640, “url”: “https://i.scdn.co/image/ab67616d0000b273a5b5e6d86bbc4f913f0782ba”, “width”: 640}, {“height”: 300, “url”: “https://i.scdn.co/image/ab67616d00001e02a5b5e6d86bbc4f913f0782ba”, “width”: 300}, {“height”: 64, “url”: “https://i.scdn.co/image/ab67616d00004851a5b5e6d86bbc4f913f0782ba”, “width”: 64}],
“name”: “Josh WaWa White”,
“popularity”: 39,
“type”: “artist”,
“uri”: “spotify:artist:4Cy6TrPbVlo9OP1MTSONo9”}}
to this:
{“4Cy6TrPbVlo9OP1MTSONo9”:
{“external_urls”: {“spotify”: “https://open.spotify.com/artist/4Cy6TrPbVlo9OP1MTSONo9”},
“genres”: [“jawaiian”, “pacific islands pop”],
“href”: “https://api.spotify.com/v1/artists/4Cy6TrPbVlo9OP1MTSONo9”,
“id”: “4Cy6TrPbVlo9OP1MTSONo9”,
“name”: “Josh WaWa White”,
“type”: “artist”,
“uri”: “spotify:artist:4Cy6TrPbVlo9OP1MTSONo9”}}
Attached is the file of json data that would need the python script to successfully run and correct. the file is pretty big, no need to actually run the script, as long as you know the script can properly run on the file and remove the items.
The second attached file is the first json file indented for further clarity on the data structure
Below is the link for the web api reference that shows the layout of the json items:
https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artist
Contact me if there any inconsistencies or problems, I’ll answer as soon as possible
Thanks in Advance

GET HELP WITH YOUR ESSAY

If you need assistance with writing your essay, our professional Essay Writing Service is here to help!

DISCOUNT CODE FIRST25

ORDER THIS OR A SIMILAR PAPER NOW

How It Works

b

Tell us about your homework assignment.

~

Securely pay for your academic paper

j

Paper gets assigned to an expert tutor

Receive the complete paper via email

Team up With Your Own Writing Expert Now

Stuck with overwhelming assignments? We will take care of all your writing tasks.