binaryedge / 40fy

Features and development of the 40fy SaaS
4 stars 1 forks source link

Feature Request : Quota API entry point #11

Closed Te-k closed 5 years ago

Te-k commented 5 years ago

Hi,

It would be nice to have an entry point in the API to get the quota used this month but also the type of plan.

Thanks Tek

igama commented 5 years ago

Added to API V2

curl "https://api.binaryedge.io/v2/user/subscription" -H 'X-Key:XXXX'
{"subscription":{"name":"Starter"},"end_date":"2019-06-17","requests_left":4942,"requests_plan":5000}