Skip to content

tsjost/Binero-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binero

Latest Unstable Version Build Status

A PHP library to communicate with Binero's (private & undocumented) mobile API.

Example

<?php
use tsjost\Binero;

$username = '[email protected]';
$password = 'my_password';

$Binero = new Binero\Client;

$login = $Binero->login($username, $password);
if ( ! $login['success']) {
  die('Unable to log in: '. $login['message']);
}

$DomainList = $Binero->getDomainList();

echo "There are ". $DomainList->getNumResults() ." domains!\n";
foreach ($DomainList->getDomains() as $Domain) {
	echo " * ". $Domain->getName() ." (". $Domain->getExpireDateShort() .")\n";
}

About

PHP API Client for Binero.se

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages