Registry / http-client / g8rswimmer-go-twitter-v2

g8rswimmer-go-twitter-v2

JSON →
library2.1.5gogounverified

Package twitter provides a Go client for the Twitter API v2.

go get github.com/g8rswimmer/go-twitter/v2
INSTALL
IMPORT
SIG · G8RSWIMMER-GO-TWIT
G
g8rswimmer-go-twitter-v2
http-clientgov2.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

twitter
github.com/g8rswimmer/go-twitter/v2

Look up a tweet by ID using the Twitter API v2.

import "github.com/g8rswimmer/go-twitter/v2" func main() { client := twitter.NewClient("bearer-token") tweet, err := client.TweetLookup("tweet-id") if err != nil { panic(err) } println(tweet.Text) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
Resources
g8rswimmer-go-twitter-v2 — go get g8rswimmer-go-twitter-v2 · libregistry