Partner Pages let our corporate partners see the impact of their campaigns to support classroom projects. Currently, partner pages are available for two types of campaigns: Gift Cards and Match Offers. This documentation can help you access data from a Partner Page programmatically. To access details about a Partner page as a json object, you will need to know the Partner Page campaign type and Partner Page id.
Although request urls are different, the response attributes are similar to those described for Giving Page JSON attributes; however, primaryCategory and donationMessage attributes are omitted.
Matching campaign url examples:
- Live projects:
https://api.donorschoose.org/common/json_matching.html?APIKey=[YOUR_API_KEY]&id=20535652&index=0&max=10 - Completed projects:
https://api.donorschoose.org/common/json_matching.html?APIKey=[YOUR_API_KEY]&id=20535652&historical=true&index=0&max=10 - Mobilized donors:
https://api.donorschoose.org/common/json_matching.html?APIKey=[YOUR_API_KEY]&id=20535652&supportersindex=0&supportersmax=10
Gift Code campaign url examples:
- Live projects:
https://api.donorschoose.org/common/json_giftcode.html?APIKey=[YOUR_API_KEY]&id=20518850 - Completed projects:
https://api.donorschoose.org/common/json_giftcode.html?APIKey=[YOUR_API_KEY]&id=20518850&historical=true - Mobilized donors:
https://api.donorschoose.org/common/json_giftcode.html?APIKey=[YOUR_API_KEY]&id=20518850&supportersindex=0&supportersmax=10