1.7.4 • Published 2 months ago
@eventer/api-client v1.7.4
A web client library to access the Eventer API.
Getting started
Install it via npm
npm install @eventer/api-client
Use it in your code
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
Examples
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}`)
})
References
- API Documentation: The related OpenAPI documentation.
- Eventer: A mobile web app, which is using this library.
How to Release
- increase the version in
package.json
- run
npm publish
- (optional) create a GitHub release with same version
1.7.4
2 months ago
1.7.3
3 months ago
1.7.2
4 months ago
1.7.1
4 months ago
1.7.0
4 months ago
1.6.0
5 months ago
1.5.3
6 months ago
1.5.2
6 months ago
1.5.1
9 months ago
1.5.0
9 months ago
1.4.0
9 months ago
1.3.5
1 year ago
1.3.4
1 year ago
1.3.3
1 year ago
1.3.2
1 year ago
1.3.1
1 year ago
1.3.0
1 year ago
1.2.1
2 years ago
1.2.0
3 years ago