/dnsimple-php

An (experimental) PHP client for the DNSimple API v2.

Primary LanguagePHPMIT LicenseMIT

⚠️ Development Warning

This project targets the development of the API client for the DNSimple API v2.

This version is currently under development, therefore the methods and the implementation should he considered a work-in-progress. Changes in the method naming, method signatures, public or internal APIs may happen at any time.

The code is tested with an automated test suite connected to a continuous integration tool, therefore you should not expect 💣 bugs to be merged into master. Regardless, use this library at your own risk. 💥

DNSimple PHP Client

A PHP client for the DNSimple API v2.

Build Status

Usage

use Dnsimple\Client;

$client = new Client("API_TOKEN");

$response = $client->identity->whoami();
$whoami = $response->getData();
$account_id = $whoami->account->id;

$response = $client->domains->listDomains($account_id);
$domains = $response->getData();

License

Copyright (c) 2015-2020 DNSimple Corporation. This is Free Software distributed under the MIT license.