Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.24 KB

how-tos.md

File metadata and controls

25 lines (20 loc) · 1.24 KB

How-Tos

Getting Started

Visit the DonorDrive instance you wish to integrate with. Make note of the domain.

For example: if you visited https://testdrive.donordrive.com you would access the API by appending one of the resource endpoints cataloged below: https://testdrive.donordrive.com/api/events.

If there's a particular how-to you don't see listed below or in the Demos section, don't hesitate to put in an issue.


Getting an Event

https://testdrive.donordrive.com/api/events

Getting an Event's teams

https://testdrive.donordrive.com/api/events/508/teams

Getting a Team's Participants

https://testdrive.donordrive.com/api/teams/8580/participants

Getting a Participant's Details

https://testdrive.donordrive.com/api/participants/15882

Getting a Participant's Donations

https://testdrive.donordrive.com/api/participants/15882/donations

Getting a Participant's Top Donor using the limit and orderBy clauses

https://testdrive.donordrive.com/api/participants/15882/donors?limit=1&orderBy=sumDonations%20DESC

Getting all Participants from an Event with 'bob' in their name using the where clause

https://testdrive.donordrive.com/api/events/508/participants?where=displayName%20LIKE%20%27%25bob%25%27