Repository navigation
Release 1.0.1
Release Notes - v1.0.0
This package provides a robust, type-safe interface for interacting with the Göteborg & Co GraphQL API.
📦 Installation
npm install @goteborgco/open-api-js-clientor
yarn add @goteborgco/open-api-js-client🔨 Basic Usage
import { GoteborgCoApi } from '@goteborgco/open-api-js-client';
const api = new GoteborgCoApi(
'https://apim-openapi-gbgco-prod.azure-api.net/gql',
'your-subscription-key'
);
// Example: List events
const events = await api.events().list({
lang: 'en',
start: '2024-01-01',
end: '2024-12-31'
});📝 Documentation
For detailed documentation and examples, please refer to our README.md file.