No description or website provided.
PHP
Latest commit 7ab74d7 Dec 30, 2016 @Plancke separate function
Permalink
Failed to load latest commit information.
resources update achievements Dec 28, 2016
src separate function Dec 30, 2016
tests add some cache utilities Nov 18, 2016
.gitignore push Nov 13, 2016
README.md add TODO Dec 9, 2016
composer.json 7+ Nov 15, 2016
phpunit.xml add some more tests and fix things Nov 14, 2016

README.md

Hypixel PHP

This is a PHP wrapper for the Hypixel Public API You can find Documentation and a Java implementation here: https://github.com/HypixelDev/PublicAPI

Requirements

  • PHP 7+
  • Hypixel API key

Installation

The preferred method of installing this library is with Composer by running the following from your project root:

$ composer require "plancke/hypixel-php=^1.0.1"

TODO

  • Implement flat file storage
  • Better documentation
  • More UnitTesting

Usage

To interact with the API you need an API key, you can get a key by doing "/api" on the Hypixel Network.

$HypixelPHP = new HypixelPHP('API_KEY');

// you can override modules, not required
$HypixelPHP->setCacheHandler(...);
$HypixelPHP->setLogger(...);
$HypixelPHP->setFetcher(...);

Old Version

You can find the old 1 file version in the old branch.