Skip to content

Commit

Permalink
Update ratelimit info
Browse files Browse the repository at this point in the history
  • Loading branch information
brussell98 committed Mar 16, 2021
1 parent 8d33b02 commit f656c16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,21 @@ Example: `User-Agent: NekosBot (nekosbot.com, v1.2.4)`

## Ratelimits

The Nekos.moe API enforces ratelimits to prevent API abuse. Ratelimit information is provided in the headers of all responses to ratelimited endpoints.
The Nekos.moe API enforces ratelimits to prevent API abuse. Ratelimit information is provided in the headers of all responses to ratelimited endpoints. \
All times are in milliseconds.

**Examples:**

```http
X-RateLimit-Limit: 5
X-RateLimit-Remaining: 3
X-RateLimit-Reset: 1615865451733
```

```http
X-RateLimit-Limit: 5
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1615865451733
Retry-After: 1354
```

Expand Down

0 comments on commit f656c16

Please sign in to comment.