https://github.com/loicmahieu/combell-js
https://github.com/loicmahieu/combell-js
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/loicmahieu/combell-js
- Owner: LoicMahieu
- Created: 2020-02-21T08:47:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T07:54:35.000Z (about 3 years ago)
- Last Synced: 2025-03-20T01:02:06.996Z (12 months ago)
- Language: TypeScript
- Size: 1.67 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Combell JS
- API Doc: https://api.combell.com/
## Install
```
yarn add combell-js
```
## Usage
### Using "raw client"
```js
import { Client } from 'combell-js';
const client = new Client({
endpoint: 'https://api.combell.com',
key: 'KEY',
secret: 'SECRET',
});
console.log(await client.get('/v2/dns/example.com/records'));
```
### Using a specific library
```js
import { DNS } from 'combell-js';
const dns = new DNS({
endpoint: 'https://api.combell.com',
key: 'KEY',
secret: 'SECRET',
});
console.log(await dns.getRecords('example.com'));
```