All Projects → machinebox → twitterfeed

machinebox / twitterfeed

Licence: GPL-3.0 license
Go channel providing live tweets containing search terms.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to twitterfeed

Idiomatic Rust
🦀 A peer-reviewed collection of articles/talks/repos which teach concise, idiomatic Rust.
Stars: ✭ 3,130 (+8594.44%)
Mutual labels:  idiomatic
Websocket
Minimal and idiomatic WebSocket library for Go
Stars: ✭ 2,013 (+5491.67%)
Mutual labels:  idiomatic

twitterfeed

Go channel providing live tweets containing search terms.

The following code reads all tweets containing "monkey" for five seconds:

ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)

r := twitterfeed.NewTweetReader("consumerKey", "consumerSecret", "accessToken", "accessSecret")
for tweet := range r.Run(ctx, "monkey") {
	log.Println(tweet)
}

log.Println("done")
  • You can read the GoDocs if you prefer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].