Skip to content

A Restful API that retrieves and stores filter-based Tweets every 15 minutes

Notifications You must be signed in to change notification settings

TomHamm/tweet-analyser

Repository files navigation

A Real-time Tweet Analyser and Repo

Project Description

A Restful API that retrieves specific topic related Tweets every 15 minutes from the Twitter API.

Tweets retrieved are parsed, stored in Tweet objects and persisted to a Postgres Database.

Tweets are then exposed via a GET endpoint - http://localhost:8080/api/v1/tweets

alt text

Setup

You will have to have a Twitter Developer account and Twitter API Keys

Set the hardcoded variables to the keys retrieved in TweetController.java

CONSUMER_KEY = [YOUR_CONSUMER_KEY]
CONSUMER_SECRET = [YOUR_CONSUMER_SECRET]
ACCESS_TOKEN = [YOUR_ACCESS_TOKEN]
ACCESS_TOKEN_SECRET = [YOUR_ACCESS_TOKEN_SECRET]

You need to have the following installed:

Run

  • mvn clean install
  • Start the Spring Application

About

A Restful API that retrieves and stores filter-based Tweets every 15 minutes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages