Interface ApiKey

An API Key

interface ApiKey {
    interval: number;
    key: string;
    limit: number;
}

Properties

Properties

interval: number

The period length in milliseconds after which the key's requests are restored to the limit

key: string

The key itself

limit: number

The maximum amount of requests this key allows for in each interval

Generated using TypeDoc