use the Twitter and iTunes APIs

use the Twitter and iTunes APIs

[ad_1]

assignment:Given any Twitter hashtag, use the Twitter and iTunes APIs to generate a playlist of music that should accompany that hashtag.
– Get the last 200 tweets from the hashtag.
– Define a class `Tweet` to represent one tweet, analogous to the `Post` class in the Facebook problem set.

/> – You should have a `__str__` method that represents information about the tweet clearly
– Your additional method should return a list of all the words in the tweet that are not “stopwords” (e.g. “and”, “the”, “is”, etc — super-common words like that are often called “stopwords” in computational linguistics). Be sure to remove punctuation when deciding what a word is.
– You may have other additional methods, if you like.
– Create a list of instances of class `Tweet`.
– Using those instances and their capabilities, find the most common word that is at least five letters long and is not a “stopword”, across all of the tweets.
– Search on that word in the iTunes Search API — for songs that come up when you search with that as a search keyword. Make sure you are caching your data in the cache file.
– Define a class `Song`.
– It should have a `__str__` method that represents information about the song clearly, including the length of the song.
– Create a list of instances of class `Song`.
– Sort the song instances you get back from the iTunes API by the songs’ length, longest to shortest.
– Create a CSV file with information about all of those songs:
– The song title
– The artist of the song
– The length of the song
– The album the song is on
– And any other column(s) of information 

[Button id=”1″]

[ad_2]

Source link

"96% of our customers have reported a 90% and above score. You might want to place an order with us."

Essay Writing Service
Affordable prices

You might be focused on looking for a cheap essay writing service instead of searching for the perfect combination of quality and affordable rates. You need to be aware that a cheap essay does not mean a good essay, as qualified authors estimate their knowledge realistically. At the same time, it is all about balance. We are proud to offer rates among the best on the market and believe every student must have access to effective writing assistance for a cost that he or she finds affordable.

Caring support 24/7

If you need a cheap paper writing service, note that we combine affordable rates with excellent customer support. Our experienced support managers professionally resolve issues that might appear during your collaboration with our service. Apply to them with questions about orders, rates, payments, and more. Contact our managers via our website or email.

Non-plagiarized papers

“Please, write my paper, making it 100% unique.” We understand how vital it is for students to be sure their paper is original and written from scratch. To us, the reputation of a reliable service that offers non-plagiarized texts is vital. We stop collaborating with authors who get caught in plagiarism to avoid confusion. Besides, our customers’ satisfaction rate says it all.

© 2022 Homeworkcrew.com provides writing and research services for limited use only. All the materials from our website should be used with proper references and in accordance with Terms & Conditions.

Scroll to Top