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
First set the following environmental variables
- CONSUMER_KEY
- CONSUMER_SECRET
- USER_KEY
- USER_SECRET
Then run the app using the following command
$ sbt run