← back to Watches
sdk/README.md
51 lines
# @omega-watches/api-client
Official JavaScript/TypeScript client for the Omega Watch Price History API.
[](https://www.npmjs.com/package/@omega-watches/api-client)
[](https://github.com/omega-watches/api-client/blob/main/LICENSE)
## Installation
```bash
npm install @omega-watches/api-client
```
Or using yarn:
```bash
yarn add @omega-watches/api-client
```
Or use directly from CDN:
```html
<script type="module">
import OmegaWatchAPI from 'http://45.61.58.125:7600/sdk/omega-api-client.js';
</script>
```
## Quick Start
```javascript
import OmegaWatchAPI from '@omega-watches/api-client';
// Initialize client
const api = new OmegaWatchAPI({
baseURL: 'http://45.61.58.125:7600',
timeout: 10000
});
// Get watches
const watches = await api.getWatches({
series: 'Speedmaster',
limit: 10
});
console.log(`Found ${watches.total} Speedmaster watches`);
```
## Full Documentation
See complete guide at: http://45.61.58.125:7600/docs/API_COMPLETE_GUIDE.md