Rate limit in donation mode

Đang mở
#9 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Locate the integration's PVOutput request and rate-limit handling, then compare its current five-minute limit with the documented standard and donation-mode limits. Done means donation-mode accounts can use the permitted higher request rate without changing the applicable Get Statistic limit.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi, great integration you made!
Small request, when you have a subscription on PVoutput, the rate limit is on 5min max in your integration but in donation mode it can be as high as 300 calls per hour.

The documentation says:

Rate Limits[](https://pvoutput.org/help/api_specification.html#rate-limits)
The following rate limits applies per API key for all request types -

60 requests per hour.

300 requests per hour in [Donation](https://pvoutput.org/help/donations.html#donations) mode.

The following rate limits applies per API key to [Get Statistic](https://pvoutput.org/help/api_specification.html#api-get-statistic) API -

12 requests per hour.

60 requests per hour in [Donation](https://pvoutput.org/help/donations.html#donations) mode.
Ngôn ngữ chính
Python
Star
5
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SourceLabOrg/HomeAssistant-PVOutputPublisher

Tất cả issue của SourceLabOrg/HomeAssistant-PVOutputPublisher

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.