PHPackages                             tyrola/nitrado-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. tyrola/nitrado-api

AbandonedArchivedLibrary[API Development](/categories/api)

tyrola/nitrado-api
==================

This is a PHP 5.3 library for the unofficial Nitrado.net gameserver API

0191PHP

Since May 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/BirknerAlex/NitradoApi)[ Packagist](https://packagist.org/packages/tyrola/nitrado-api)[ RSS](/packages/tyrola-nitrado-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Unofficial NitradoAPI
=====================

[](#unofficial-nitradoapi)

This is a PHP 5.3 library for the unofficial Nitrado.net gameserver API. This API is normally used for the smartphone apps.

**Note:** There is no support for this library from nitrado.net. Use at your own risk.

**Note 2:** This library currently only supports the product type "Gameserver".

**Note 3:** **Deprecated!** You should use the official SDK .

Recommends
----------

[](#recommends)

- PHP 5.3 or higher
- An nitrado.net User Account
- Composer.phar ;)

Installation
------------

[](#installation)

Edit the composer.json and execute composer.phar update

```
{
    "require": {
        "tyrola/nitrado-api": "dev-master",
    }
}
```

All Methods
-----------

[](#all-methods)

**All Methods for every product type**

- getId()
- getDeleteDate()
- setEndDate()
- getProduct()
- getType()

**All Methods for the "Gameserver" product type**

- getCpuUsage()
- getCurrentMap()
- getCurrentPlayers()
- getIp()
- getMaxPlayers()
- getServerName()
- getStatus()
- doRestart()
- doStop()
- doStart()

Examples
--------

[](#examples)

**Using the API**

```
