An open API service indexing awesome lists of open source software.

https://github.com/navarr/minecraftapi

An API for validating a user against Mojang's servers written in PHP
https://github.com/navarr/minecraftapi

Last synced: 7 months ago
JSON representation

An API for validating a user against Mojang's servers written in PHP

Awesome Lists containing this project

README

          

MinecraftAPI
============

An API for validating a user against Mojang's servers written in PHP

## Installation

Assuming you have [composer](http://www.getcomposer.org/),

`php composer.phar require navarr/minecraft-api:2.*`

## How to use

Using the MinecraftAPI is incredibly easy in PHP. Assuming that you have it installed via composer,

```php
username;
$accessToken = $minecraftApi->accessToken;
$uuid = $minecraftApi->minecraftID;
```

## License

MIT License (coming soon!)