Retrieve the donations sum, and target, shown on event page
morleym opened this issue · 4 comments
I am looking at an event: https://lanfest.donordrive.com/index.cfm?fuseaction=donorDrive.event&eventID=510
The event page displays a target and a current value:
The public API for the event only returns the following:
{
"endDateUTC": "2020-04-14T02:00:00.0+0000",
"eventID": 510,
"timezone": "America/New_York",
"type": "P",
"startDateUTC": "2020-04-10T22:00:00.0+0000",
"name": "Corona Clash"
}
I did not see a means in API documentation to retrieve either the target ($5000 in the image) or the current ($90 in the image) so I am filing this issue to request that functionality. This event does not have any teams.
More context: the use case is to display this target and sum in custom layouts either for a website or a broadcast.
@morleym , confirming you're looking to get fundraising info in the /api/events
and/or /api/events/EVENT-ID
endpoints. if so, we're working on it!
@timmixell that is correct. In this example, I'd like to GET https://lanfest.donordrive.com/api/events/510
and have it return the values for the goal (5000) and current total raised (90) in some form