Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ben221199/oxxa-api
A PHP library for the Oxxa API.
https://github.com/ben221199/oxxa-api
api composer oxxa php
Last synced: about 2 months ago
JSON representation
A PHP library for the Oxxa API.
- Host: GitHub
- URL: https://github.com/ben221199/oxxa-api
- Owner: ben221199
- License: gpl-3.0
- Created: 2021-10-17T18:25:21.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T15:36:20.000Z (about 2 years ago)
- Last Synced: 2024-10-31T22:06:39.961Z (2 months ago)
- Topics: api, composer, oxxa, php
- Language: PHP
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Oxxa API (PHP)
Use the Oxxa API in PHP.
## Status
[![Build Status](https://travis-ci.com/ben221199/oxxa-api.svg?branch=master)](https://travis-ci.com/ben221199/oxxa-api)
## Installation
`composer require ben221199/oxxa-api`
## Use
```php
$username = 'myUsername'; // Your API username
$password = 'myPassword'; // Your API password
$useMD5 = true; // When true, password is send in its MD5 form.
$isTesting = false; // When true, payment wil not occur$oxxaApi = new \Ben221199\Oxxa\API\OxxaAPI('https://api.oxxa.com',$username,$password,$useMD5,$isTesting);
$xml = $oxxaApi->DOMAIN_CHECK([
'sld' => 'myDomain',
'tld' => 'com',
]);
```