Skip to content

bkunyiha/twitter-sample-endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter-sample-endpoint

This app reads the sample Twitter endpoint API and keeps track of the following metrics:

  • Total number of tweets received
  • Average tweets per hour/minute/second
  • Top emojis in tweets
  • Percent of tweets that contains emojis
  • Top hashtags
  • Percent of tweets that contain a url
  • Percent of tweets that contain a photo url (pic.twitter.com or instagram)
  • Top domains of urls in tweets

Running the app

First set the following environmental variables

  • CONSUMER_KEY
  • CONSUMER_SECRET
  • USER_KEY
  • USER_SECRET

Then run the app using the following command

$ sbt run

Web interface

http://localhost:8080

Releases

No releases published

Packages

No packages published

Languages