Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  dist
  package.json
  README.md
  tsconfig.json
  tslint.json
Size: Mime:
  README.md

Volvo OXP Lib

A TypeScript API client and helper lib for the Volvo OXP Content Services API.

Basic Usage

import { Client, Transport } from '@fbinhouse/volvo-oxp-lib';

const transport = new Transport(
    'https://test.oxp.fbinhouse.se/proxy', // API base URL,
    'placeholder' // Application specific API key
);

const client = new Client(transport);

Client

The Client class has the following methods that corespond to API calls:

  • getFootersV2(market: string)

    Calls the /v2/footers endpoint with the given market.

  • getNavigationsV2(market: string)

    Calls the /v2/navigations endpoint with the given market.