This project is a sample web app that illustrates use of the NGP VAN API. The functionality found here is similar to what you might find on the website of a progressive political candidate:
- Volunteer signup
- Event RSVP
- Collection of canvass data
- Voter file match
All of these features are backed by the NGP VAN API in one way or another.
The coding framework here is .NET MVC, although it is certainly possible to build equivalent functionality in any number of other frameworks.
We also provide a bash script that includes a set of cURL commands for executing API calls similar to those found in the web app, as well as a Postman collection that allows you to run the same API calls in Postman - though it is easy enough to use other API clients to execute these API calls.
The keys used in these examples and included in the source code are no longer functional. However, if you wish to experiment with our API, we encourage you to request an API key!