To interact with TeamRaiser API using TypeScript, you will need to:
request-promise
package to make API requests and @types/request-promise
to have type definitions for the package installed.index.ts51 chars2 lines
request-promise
package:index.ts734 chars38 lines
index.ts307 chars15 lines
This example shows how to retrieve a team's data by ID, but you can replace getTeam()
with any other TeamRaiser API endpoint and method available to interact with the API.
gistlibby LogSnag