This is a microservice built to query the DSM Web Geeks Eventbrite account for attendance numbers.
Pass a valid Eventbrite eventUrl
for a Web Geeks event as a query param:
?eventUrl=https://www.eventbrite.com/e/blockchain-with-dave-wakeman-an-ibm-blockchain-tech-tickets-49409159125
And receive a JSON response:
{
"sold": 35,
"total": 50
}
Create a now-secrets.json
file with an Eventbrite API auth token from the DSM Web Geeks account:
{
"@eventbrite-oauth-token": "AUTHTOKEN"
}
With Node >= v10:
yarn
yarn dev
This site is automatically deployed to Now via Github.
- All pushes to branches will be deployed to a unique staging URL
- All pushes to
master
will be deployed and aliased to https://webgeeks-count.now.sh
Be sure you have an account with the DSM Web Geeks Zeit team:
now switch dsmwebgeeks
now