HabitRPG PHP library.
git clone https://github.com/binnyva/habitrphpg
- Curl Support for PHP
require("HabitRPHPG.php");
$api = new HabitRPHPG("USER_ID_GOES_HERE", "API_KEY_GOES_HERE");
$data = $api->user();
$stats = $data['stats'];
print $data['profile']['name'] . " (Level $stats[lvl])\n";
... # etc.
- Unit tests
- Test all aspects of the code
- Binny V A - Initial Author
- HabitRPG Team(Obviously)
- pyhabit(Python Library for HabitRPG). The idea for this came after seeing pyhabit.