You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Give Admin, I want to pull data from Give over the API within a specific range. Currently, according to the online documentation, I should be able to do that with the stats endpoint, and either the donations or earnings types.
But that doesn't seem to be the case currently.
Current Behavior
I currently am trying to get that information with the following URL:
You can see that the API response is just giving me the TOTAL earnings, not the earning respective of the daterange I entered.
Expected Behavior
I expect to be able to query a specific form, and for a specific date-range, get the following information:
The income raised during that date range
The number of donations received in that date range
Potentially a list of donors who gave to that form in that date range.
It's possible all those things are already possible with the API, and our Documentation is just wrong -- but I don't believe so because I inspected the code pretty closely too.
Steps to Reproduce
#GiveTeam members can use their Givewp.com account to query that URL above with their own unique key and token.
Try different query parameters according to the code.
User Story
As a
Give Admin
, I want to pull data from Give over the API within a specific range. Currently, according to the online documentation, I should be able to do that with thestats
endpoint, and either thedonations
orearnings
types.But that doesn't seem to be the case currently.
Current Behavior
I currently am trying to get that information with the following URL:
https://givewp.com/give-api/v1/stats/?key=<my_key>&token=<my_token>&form=173418&date=range&startdate=20180504&enddate=20180506&type=earnings
But this is the result:
Here's the form in the Admin:
You can see that the API response is just giving me the TOTAL earnings, not the earning respective of the daterange I entered.
Expected Behavior
I expect to be able to query a specific form, and for a specific date-range, get the following information:
It's possible all those things are already possible with the API, and our Documentation is just wrong -- but I don't believe so because I inspected the code pretty closely too.
Steps to Reproduce
Related
Internal links for #GiveTeam members only
The text was updated successfully, but these errors were encountered: