jowy / online
Online.net API library
Installs: 97
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
pkg:composer/jowy/online
Requires
- php: >=5.3.0
- jowy/rest-client: v0.1.1
This package is not auto-updated.
Last update: 2025-10-25 21:18:11 UTC
README
Online API wrapper for PHP 5.3+
Installation
This library can installed through compose
$ php composer.phar require jowy/online:@stable
Usage
<?php use Online\Online; $online = new Online('your-api-token-here'); $abuse = $online->abuse(); $network = $online->network(); $server = $online->server(); $storage = $online->storage(); $user = $online->user(); // Get user info $user->getUserInfo(); // Get all server id $server->getAllServerId(); // Get abuse list $abuse->getAbuseList(); // Get ddos alert $network->getDdosAlert(); // Get Rpnsync backup $storage->getRpnSyncBackup();
List All Function
Abuse
getAbuseList($count = 10, $minId = 0, $maxId = 10)getAbuseDetail($abuseId)replyAbuse($abuseId, $answer, $solution)
Network
getDdosAlert($targetIp, $count = 10, $midId = 0, $maxId = 10)getDdosAlertDetail($alertId)
Storage
getRpnRsyncBackup()editRpnRsyncBackup($name, $password = 'default')getRpnSan()addServerToRpnSan($iqnSuffix, $serverId)removeServerInRpnSan($iqnSuffix, $serverId)
User
getUserInfo()
Server
getAllServerId()getServerDetail($serverId)editServerHostname($serverId, $hostname = 'default')createBmcSession($serverId, $authorizationIP)deleteBmcSession($sessionId)getBmcSessionDetail($sessionId)bootServerNormal($serverId)bootServerRescue($serverId)bootServerTest($serverId)rebootServer($serverId)enableHardwareWatch($serverId)disableHardwareWatch($serverId)getRescueImages($serverId)getBackupServer($serverId)editBackupServer($serverId, $password = 'default', $autoLogin = true, $acl = false)getFailoverIp()deleteFailoverMac($failoverIp)editFailoverIp($failoverIp, $destination)generateMac($failoverIp, $type)editIp($ip, $reverse, $destination = null)