Class: FundraisingEvents

FundraisingEvents(self)

new FundraisingEvents(self)

A new fundraising events api object.
Parameters:
Name Type Description
self object is `this` from index.js
Source:

Methods

get(id, callback)

returns info about a fundraising event
Parameters:
Name Type Description
id string fundraising event id to look up
callback requestCallback a function to call when we're done getting data
Source:

getCampaigns(id, callback)

returns campaigns for a fundraising event
Parameters:
Name Type Description
id string fundraising event id to look up
callback requestCallback a function to call when we're done getting data
Source:

getLeaderboards(id, timeType, callback)

returns leaderboards for a fundraising event
Parameters:
Name Type Description
id string fundraising event id to look up
timeType string Time range for leaderboard (daily, weekly, monthly, yearly, ytd, all)
callback requestCallback a function to call when we're done getting data
Source:

getTopDonors(id, timeType, callback)

returns donations for a fundraising event
Parameters:
Name Type Description
id string fundraising event id to look up
timeType string Time range for leaderboard (daily, weekly, monthly, yearly, ytd, all)
callback requestCallback a function to call when we're done getting data
Source: