Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loicmahieu/combell-js
https://github.com/loicmahieu/combell-js
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/loicmahieu/combell-js
- Owner: LoicMahieu
- Created: 2020-02-21T08:47:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T07:54:35.000Z (almost 2 years ago)
- Last Synced: 2024-04-11T13:05:53.117Z (9 months ago)
- Language: TypeScript
- Size: 1.67 MB
- Stars: 1
- Watchers: 3
- 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'));
```