Skip to content

Commit

Permalink
Try and please sphynx
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Aug 16, 2024
1 parent 60b7681 commit 8680507
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions adafruit_io/adafruit_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,20 +868,11 @@ def get_user_rate_info(self):
Get rate limit and usage information for the current user.
See https://io.adafruit.com/api/docs/#get-detailed-user-info
Example output:
```
{
"data_rate_limit": 30,
"active_data_rate": 0,
"authentication_rate": 0,
"subscribe_authorization_rate": 0,
"publish_authorization_rate": 0,
"hourly_ban_rate": 0,
"mqtt_ban_error_message": null,
"active_sms_rate": 0
}
```
Example output: {"data_rate_limit": 30, "active_data_rate": 0,
"authentication_rate": 0, "subscribe_authorization_rate": 0,
"publish_authorization_rate": 0, "hourly_ban_rate": 0,
"mqtt_ban_error_message": null, "active_sms_rate": 0}
"""
path = self._compose_path("throttle")
return self._get(path)
Expand Down

0 comments on commit 8680507

Please sign in to comment.