michaelesmith/dyndns-processor-digitalocean

a processor for the dyndns-kit framework to use Digital Ocean's API

0.1.0 2018-11-02 22:20 UTC

This package is auto-updated.

Last update: 2024-10-29 05:28:33 UTC


README

Build Status

What is this?

This is a processor for the dyndns-kit framework to use Digital Ocean's API via DigitalOceanV2 so that . If you don't know what DynDNS-Kit is take a look.

Install

composer require "michaelesmith/dyndns-processor-digitalocean"

How do I use it

To see a full example usage please refer to the example project.

Basic usage

$doProcessor = new DigitalOceanApiProcessor(
    ['example.com'], 
    new \DigitalOceanV2\DigitalOceanV2(
        new \DigitalOceanV2\Adapter\GuzzleHttpAdapter('my_api_token)
    )
);

This example uses the DigitalOceanV2 to interact with the Digital Ocean API for updating their DNS entries.

Contributing

Have an idea to make something better? Submit a pull request. PR's make the open source world turn. 🌎 🌏 🌍 :octocat: Happy Coding!