Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/loicmahieu/combell-js


https://github.com/loicmahieu/combell-js

Last synced: 27 days ago
JSON representation

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'));
```