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
- Host: GitHub
- URL: https://github.com/navarr/minecraftapi
- Owner: navarr
- Created: 2013-07-11T01:21:06.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-11-16T18:24:20.000Z (over 9 years ago)
- Last Synced: 2024-12-29T06:22:14.531Z (over 1 year ago)
- Language: PHP
- Size: 136 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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!)