Skip to content

LightSrc/dathost-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PHP-API-Dathost.net

Dathost.net API for PHP. PHP 5.5+ and make sure your web host support cURL. Look at source code to see all available functions.

How to use

Click here to see parameters for all functions

<?php
include_once 'DathostAPI.php';

$api = new DathostAPI('your-email', 'your-password');

// Creating Server
$params = [
    'game' => 'csgo',
    'name' => 'Server created via API',
    'csgo_settings.rcon' => '123456'
]; 
$api->createGameServer($params);

// For deleting server
$api->deleteGameServer('your-server-id');

About

A PHP wrapper for the dathost API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages