tweet

package
v0.0.0-...-9c64050 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountResponse

type CountResponse struct {
	Data []Data `json:"data"`
	Meta Meta   `json:"meta"`
}

func GetRecentCount

func GetRecentCount(query string, granularity string) (countResponse CountResponse, err error)

type Data

type Data struct {
	End        time.Time `json:"end"`
	Start      time.Time `json:"start"`
	TweetCount int       `json:"tweet_count"`
}

type Meta

type Meta struct {
	TotalTweetCount int `json:"total_tweet_count"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL