latest
This commit is contained in:
1 parent
a9590c0dce
commit
bab7810cd3
22 files changed
+114606
-1
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
twitterscraper "github.com/n0madic/twitter-scraper"
|
||||
)
|
||||
|
||||
func main() {
|
||||
profile, err := twitterscraper.GetProfile("jack")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
prettyJSON, err := json.MarshalIndent(profile, "", " ")
|
||||
fmt.Printf("%s\n", string(prettyJSON))
|
||||
}
|
||||
Reference in new issue
Block a user