Documentation ¶
Index ¶
- func Get(ctx context.Context, c *gotwi.Client, p *types.GetInput) (*types.GetOutput, error)
- func List(ctx context.Context, c *gotwi.Client, p *types.ListInput) (*types.ListOutput, error)
- func ListBuyers(ctx context.Context, c *gotwi.Client, p *types.ListBuyersInput) (*types.ListBuyersOutput, error)
- func ListByCreatorIDs(ctx context.Context, c *gotwi.Client, p *types.ListByCreatorIDsInput) (*types.ListByCreatorIDsOutput, error)
- func ListTweets(ctx context.Context, c *gotwi.Client, p *types.ListTweetsInput) (*types.ListTweetsOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Returns a variety of information about a single Space specified by the requested ID. https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id
func List ¶
Returns details about multiple Spaces. Up to 100 comma-separated Spaces IDs can be looked up using this endpoint https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces
func ListBuyers ¶
func ListBuyers(ctx context.Context, c *gotwi.Client, p *types.ListBuyersInput) (*types.ListBuyersOutput, error)
Returns a list of user who purchased a ticket to the requested Space. You must authenticate the request using the access token of the creator of the requested Space. https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-buyers
func ListByCreatorIDs ¶
func ListByCreatorIDs(ctx context.Context, c *gotwi.Client, p *types.ListByCreatorIDsInput) (*types.ListByCreatorIDsOutput, error)
Returns live or scheduled Spaces created by the specified user IDs. Up to 100 comma-separated IDs can be looked up using this endpoint. https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-by-creator-ids
func ListTweets ¶
func ListTweets(ctx context.Context, c *gotwi.Client, p *types.ListTweetsInput) (*types.ListTweetsOutput, error)
Returns Tweets shared in the requested Spaces. https://developer.twitter.com/en/docs/twitter-api/spaces/lookup/api-reference/get-spaces-id-tweets
Types ¶
This section is empty.