dondominio/api-sdk-php
最新稳定版本:2.0.13
Composer 安装命令:
composer require dondominio/api-sdk-php
包简介
DonDominio/MrDomain API SDK
README 文档
README
Leverage the powerful DonDominio/MrDomain API in your own applications, projects, and websites using our easy-to-use SDK for PHP.
Install the library, include one class, and you will be making requests to the DonDominio/MrDomain API in a matter of seconds.
The Wiki contains information on how to get started and about everything you may need.
For more information, documentation, support, and guides, visit dondominio.dev/en/api/docs/sdk-php/.
A Simple Example
<?php // Load the DonDominio SDK autoloader require_once "/path/to/lib/src/autoloader.php"; // Create an instance of the DonDominio API Client $dondominio = new \Dondominio\API\API([ 'apiuser' => "YOUR_API_USER", 'apipasswd' => "YOUR_API_PASSWORD" ]); // Request the account information to the API $response = $dondominio->account_info(); // Get the API Response in Array and print it print_r($response->getResponseData());
You can see more examples in examples file
SDK para PHP de la API de DonDominio/MrDomain
Saca partido de la poderosa API de DonDominio/MrDomain en tus propias aplicaciones, proyectos y páginas web usando nuestro sencillo SDK para PHP.
Instala la librería, incluye una clase y estarás haciendo peticiones a la API de DonDominio/MrDomain en cuestión de segundos.
La Wiki contiene información sobre como empezar y prácticamente todo lo que puedas necesitar.
Para más información, documentación, soporte y guías, visita dondominio.dev/es/api/docs/sdk-php/.
Código de ejemplo
<?php // Carga el autoloader del SDK de DonDominio require_once "/path/to/lib/src/autoloader.php"; // Crea una instancia del cliente de la API de DonDominio $dondominio = new \Dondominio\API\API([ 'apiuser' => "YOUR_API_USER", 'apipasswd' => "YOUR_API_PASSWORD" ]); // Consulta a la API la información de la cuenta $response = $dondominio->account_info(); // Obtiene la respuesta de la API en formato Array y lo imprime print_r($response->getResponseData());
Puedes consultar más ejemplos en el fichero de ejemplos
统计信息
- 总下载量: 2.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-only
- 更新时间: 2015-11-19