https://github.com/sbarbett/ultradns-node
A compact node client for the UDNS API
https://github.com/sbarbett/ultradns-node
dns ultradns vercara
Last synced: 7 months ago
JSON representation
A compact node client for the UDNS API
- Host: GitHub
- URL: https://github.com/sbarbett/ultradns-node
- Owner: sbarbett
- License: mit
- Created: 2023-10-13T22:39:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T14:24:32.000Z (almost 2 years ago)
- Last Synced: 2025-03-03T17:49:16.250Z (7 months ago)
- Topics: dns, ultradns, vercara
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ultradns-node
A Node.js client for interacting with the UltraDNS API.
## Installation
```bash
npm install ultradns-node
```## Usage
First, import the module:
```javascript
const UltraApi = require('ultradns-node');
```Then, create a new instance with your username and password:
```javascript
const client = await UltraApi.connect('your-username', 'your-password');
```You can then use the client to make requests to the UltraDNS API.
### Making GET Requests
```javascript
client.get('/path/to/resource').then(response => {
console.log(response);
});
```## Debug Mode
To enable debug mode and get more detailed logs:
```javascript
client.toggleDebug();
```## Setting a Custom User Agent
```javascript
client.setUserAgent('Your Custom User Agent String');
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
[MIT](https://choosealicense.com/licenses/mit/)