Skip to content

marcomarandiz/tweets-from-sector-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tweets-from-sector-service

Service to return popular tweets from companies in a sector.

index.js

sets up route to query for strings at '.com/{sector}'

yahoo.js

makes a series of calls to yahoo's business api.
https://code.google.com/p/yahoo-finance-managed/wiki/CSVAPI
retrieves industries in queried sector (sectors passed in by string: https://code.google.com/p/yahoo-finance-managed/wiki/enumSectors )
--> retrieves companies in retrieved industries
--> orders companies by market cap
returns top 100 companies in a sector

twitter.js

queries twitter for tweets containing company names and orders them by popularity
popularity == retweets + favorites
returns top 50 tweets about company
obj -> {
username, tweet, retweets, favorites
}

About

Service to return popular tweets from companies in a sector.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published