A web client library to access the Eventer API.
npm install @eventer/api-client
import { eventerApiClient } from '@eventer/api-client'
// See examples below for more details
const response = await eventerApiClient.searchEvents({ ... })
For more information, have a look at the OpenAPI documentation: apidoc.eventer.app
Find upcoming events which have the word "music" in their title or description:
const response = await eventerApiClient.searchEvents({
search: "music"
})
response.events?.forEach((event) => {
console.log(`upcoming music event '${event.title}' starts at ${event.starts_at}`)
})
Find all upcoming movies for the Cinestar Chemnitz cinema:
const placeId_cinestar = 'ChIJqz9jQFxGp0cRiaEOhbcVxSM';
const response = await eventerApiClient.searchEvents({
google_place_ids: [placeId_cinestar],
categories: ['movie']
})
response.events?.forEach((event) => {
console.log(`upcoming Cinestar Chemnitz movie '${event.title}' starts at ${event.starts_at}`)
})
- API Documentation: The related OpenAPI documentation.
- Eventer: A mobile web app, which is using this library.
- increase the version in
package.json
- run
npm publish
- (optional) create a GitHub release with same version