Closed jimaek closed 2 months ago
@radulucut let's start by adding support for GLOBALPING_TOKEN
variable, and I'll specify the rest of the interface to add a little later. The token is sent as Authorization: Bearer YOUR-TOKEN
(docs). You can ping me by Slack/mail, and I'll send you some actual tokens for testing.
To support our upcoming API keys we need a few changes:
New parameter -T/--token (open to different options)- in #108GLOBALPING_TOKEN
New command- in #109limits
that will output IP limits if the user is anon and remaining credits if the user is authenticated