Repository URL to install this package:
|
Version:
0.1.0 ▾
|
| dist |
| package.json |
| README.md |
| tsconfig.json |
| tslint.json |
A TypeScript API client and helper lib for the Volvo OXP Content Services API.
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);
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.