chjj / charged

High-level Chargify API binding for node.js
MIT License
10 stars 5 forks source link

[feature request] Calculate future revenue #2

Closed indexzero closed 11 years ago

indexzero commented 11 years ago

... across active subscriptions for the rest of the month starting from a given day from the charged CLI.

e.g.

[charged] revenue
Projected revenue this month: $XX.XXX based on subscriptions:
  YY active for PP product
  ZZ active for QQ product 
chjj commented 11 years ago

I would like to add that but I don't think it would be possible. I don't think chargify really provides any easy way of calculating this (the only stats the chargify api provides is what you see with ls /stats, which doesn't really provide enough data for this).

To implement this, charged would have to request every subscription from the chargify site. I guess it is technically possible, but it would be really slow due to requesting thousands of subscriptions with a limit of 200 at a time.