Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / One of the easy methods to extract data from a website is through APIs

One of the easy methods to extract data from a website is through APIs

Computer Science

One of the easy methods to extract data from a website is through APIs. Look for a "developers" or "API" section of the site if you require information from a particular website, then try searching the web for "python sitename> api" to discover a library. There are libraries for the Twitter API, Spotify API, Instagram API, Yelp API, and many other APIs.

Twitter is an excellent source of data to use. It can be used to obtain current news. It can be used to gauge how people are responding to recent events. It can be used to locate connections pertaining to subjects. If you have access to its data, you can utilize it for just much everything you can think of. Additionally, its APIs allow you to access its data.

To use Twitter’s APIs, you need to get some credentials (for which you need a Twitter account, which you should have anyway so that you can be part of the lively and friendly Twitter #datascience community). In  Chapter 9. Getting Data - "Data Science from Scratch" book shows how to get the Twitter API and download tweets with it. Additional online resource.

In this work each group has to (the group can use the Tweepy or Twython API or any other appropriate API that will give the group access to more Twitter data) :

  1. Outline five unique #tages (keywords) in relation to terminologies you have learned in this course. Provide a reference in your codes as comments to the course module where the terminologies were picked from. (E.g. #datascience was picked from module two lecture notes)
  2. Scrap tweets from Twitter using the Twitter API based on groups defined #tages (i.e., search for tweets containing the phrase keywords the group defined).
  3. Store the dataset in a pandas data frame.
  4. View the first and last 7 records in your data frame.

Note:

  1. Add comments to explain your codes
  2. You can use the Tweepy or Twython API or any other appropriate API that will give the group access to more Twitter data.
  3. Save you work as.HTML and.py

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE