Get-APITCGRateLimit

SYNOPSIS

Gets the last rate limit observed by the module

SYNTAX

Index (Default)

Get-APITCGRateLimit

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

The Get-APITCGRateLimit cmdlet returns the rate limit information that the APITCG API sent with the last response. No API request is made

Each IP address can make 300 requests per minute. Separately from that limit each API key has a monthly request quota (Free plan = 1,000 requests per month) which is not part of the headers

The returned object has the following properties: Limit The requests allowed per window Remaining The requests left in the current window ResetSeconds The seconds until the window resets when the response was received Policy The RateLimit-Policy header (300;w=60) ResetAt When the window resets (UTC) RetrievedAt When the response was received (UTC)

EXAMPLES

EXAMPLE 1

Get-APITCGRateLimit

Returns the rate limit information of the last API response

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Management.Automation.PSObject

NOTES

N/A