Skip to content

Release 1.0.1

Choose a tag to compare

@considadam considadam released this 30 Mar 21:42
· 6 commits to main since this release

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-client

or

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.