DonorDrive/PublicAPI

List of features and fundraising campaigns in API documentation

jasonsckrabulis opened this issue · 6 comments

I'm working on a project using the DonorDrive API for general use for all campaigns (e.g., Extra Life, Dance Marathon, NAMI, etc) in order to trigger user-customizable physical interactions. I'd like to be able to see a list of URLs and their respective available endpoints (since not all campaigns take advantage of them per the documentation) to be able to include something like a dropdown menu to select a particular campaign for a list of available options.

Hi @jasonsckrabulis , confirming you're referring to the links portion of the appropriate endpoint response. Can you elaborate on a specific interaction, endpoints, and the URLs that would be useful to you?

That's correct.

Here's an example of one of many options I have in mind:
If I want to flash a light using Arduino or Raspberry Pi based on getting a donation or hitting a milestone (for Extra Life), I'd get my JSON data from extra-life.org/...., but I'm aiming to generalize a library/package for use by any of the charities DD supports with whatever endpoints are available to them.

@jasonsckrabulis sorry, I'm missing how the existing /donations and /milestones endpoints aren't doing what you need. As long as you follow the documented endpoint structure, getting this to work across other DD charities should be as simple as swapping the domain.

No worries! You aren't missing anything, the functionality isn't really the root my problem. Sorry if I'm not being clear.

I suppose I'm looking for a list of the domains of DD charities in the documentation. Do all of them support incentives and teamgroups (as two examples)? If they don't then I'd like to build my front end such that users don't see those options at all. Unless there is a table I'm missing with what is available for each DD instance.

Edit: I think my needs are more supplemental to the technical side of the API than technical itself.

@jasonsckrabulis , that sounds like a question for integrations at donordrive.com

Sounds good! Thanks for the help!