unoeuro / api-php
Documentation for this API can be found on https://www.simply.com/docs/api/
v1.0.1
2016-04-23 13:48 UTC
Requires
- php: >=5.3
- ext-json: *
- guzzlehttp/guzzle: ~6
This package is not auto-updated.
Last update: 2026-04-26 03:46:53 UTC
README
Documentation for this API can be found on https://www.simply.com/docs/api/
Installation & Usage
Requirements
PHP 8.1 and later.
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/simplycom/api-php.git"
}
],
"require": {
"simplycom/api-php": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
<?php require_once('/path/to/SimplyCom-php/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure HTTP basic authorization: basicAuth $config = SimplyCom\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); $apiInstance = new SimplyCom\Api\BillingApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); try { $result = $apiInstance->getInvoices(); print_r($result); } catch (Exception $e) { echo 'Exception when calling BillingApi->getInvoices: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://api.simply.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| BillingApi | getInvoices | GET /2/my/invoices/ | Retrieve list of invoices |
| DnsApi | addDnsRecord | POST /2/my/products/{object}/dns/records/ | Add new DNS record to a product DNS zone |
| DnsApi | ddnsHelper | GET /2/ddns/ | Dynamic DNS helper endpoint |
| DnsApi | deleteDnsRecord | DELETE /2/my/products/{object}/dns/records/{record_id}/ | Remove DNS record from a product DNS zone |
| DnsApi | dyndns | GET /2/dyndns/ | DynDNS protocol-compatible endpoint |
| DnsApi | getDnsRecords | GET /2/my/products/{object}/dns/records/ | Retrieve all DNS records for a product |
| DnsApi | getDnsZone | GET /2/my/products/{object}/dns/ | Retrieve DNS zone metadata |
| DnsApi | reloadDnsZone | POST /2/my/products/{object}/dns/reload/ | Force-reload a DNS zone |
| DnsApi | updateDnsRecord | PUT /2/my/products/{object}/dns/records/{record_id}/ | Update a DNS record in a product DNS zone |
| DomainsApi | domaincheck | GET /2/my/domaincheck/{domain}/ | Check domain availability |
| MailApi | addMailAccount | POST /2/my/products/{object}/mail/accounts/ | Add new mail account to a product |
| OrderApi | orderDnsService | POST /2/my/order/dnsservice/ | Order a DNS service with optional domain registration/transfer |
| ProductsApi | getProductList | GET /2/my/products/ | Retrieve list of products |
| RegistryApi | getDnssecKeys | GET /2/my/products/{object}/dnssec/ | Retrieve DNSSEC keys registered on a domain |
| RegistryApi | getNameservers | GET /2/my/products/{object}/nameservers/ | Retrieve the current nameservers of a domain |
| ServerstatusApi | getServerStatusMessages | GET /2/my/serverstatus/messages/ | Retrieve server status messages |
Models
- AddDnsRecord200Response
- AddDnsRecord200ResponseRecord
- AddDnsRecord400Response
- AddMailAccountPayload
- DnsRecordPayload
- DnsRecordType
- Domaincheck200Response
- Domaincheck200ResponseDomain
- ErrorResponse
- GetDnsRecords200Response
- GetDnsRecords200ResponseRecordsInner
- GetDnsRecords404Response
- GetDnsZone200Response
- GetDnsZone200ResponseZone
- GetDnssecKeys200Response
- GetDnssecKeys200ResponseDnssecKeysInner
- GetInvoices200Response
- GetInvoices200ResponseInvoicesInner
- GetNameservers200Response
- GetProductList200Response
- GetProductList200ResponseProductsInner
- GetProductList200ResponseProductsInnerDomain
- GetProductList200ResponseProductsInnerProduct
- GetProductList200ResponseProductsInnerServers
- GetProductList200ResponseProductsInnerServersFtpserver
- GetProductList200ResponseProductsInnerServersSshserver
- GetProductList200ResponseProductsInnerServersWebserver
- GetProductList200ResponseProductsInnerUsernames
- GetServerStatusMessages200Response
- GetServerStatusMessages200ResponseMessagesInner
- OrderDnsService200Response
- OrderDnsService200ResponseOrder
- OrderDnsService400Response
- OrderDnsServicePayload
- SuccessResponse
Authorization
basicAuth
- Type: HTTP basic authentication
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
2.3.0- Generator version:
7.22.0-SNAPSHOT
- Generator version:
- Build package:
org.openapitools.codegen.languages.PhpNextgenClientCodegen