Skip to content

DanielaSfregola/twitter4s.g8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter4s.g8

Build Status License Chat

Giter8 template for a sample application using twitter4s.

Usage

Get the template for the sample application:

sbt new DanielaSfregola/twitter4s.g8

This template will prompt for the name of the project. Press Enter if the default values suit you.

Add your consumer and access token as environment variables:

export TWITTER_CONSUMER_TOKEN_KEY='my-consumer-key'
export TWITTER_CONSUMER_TOKEN_SECRET='my-consumer-secret'
export TWITTER_ACCESS_TOKEN_KEY='my-access-key'
export TWITTER_ACCESS_TOKEN_SECRET='my-access-secret'

The sample project contains examples for both REST and streaming client.

Run the examples with sbt run and choose the main to run.

Run template tests with sbt test

About

Giter8 template for a skeleton application using twitter4s

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages