2017 © Pedro Peláez
 

library openxbl

Wrapper for OpenXBL

image

openxbl/openxbl

Wrapper for OpenXBL

  • Tuesday, August 29, 2017
  • by regimbal93
  • Repository
  • 2 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 171 % Grown

The README.md

OpenXBL PHP Wrapper

This PHP package is a lightweight wrapper for OpenXBL. It's the easiest way to use OpenXBL in your PHP application., (*1)

Part of the XBL.IO feature set., (*2)

get('account'));
?>

Quickstart

This library is available through Composer., (*3)

Use the following command:, (*4)

`composer require openxbl/openxbl`

Alternatively, add the repository in your composer.json file. If you don't already have this file create it at the root of your project with this content:, (*5)

{
    "name": "Example Application",
    "description": "This is an example of OpenXBL",
    "require": {
        "openxbl/openxbl": "^2"
    }
}

Making an App Request

isApp = true;

print_r($client->get('account'));
?>

Making a Claims Request

claim('CODE_VALUE');
?>

Optional Parameters

format = 'json';

// Language of response. 
$client->language = 'en-US,en';
?>

Supported APIs

This wrapper is built using OpenXBL /api/v2/, (*6)

Collaborate

Visit our discord channel and say hello!, (*7)

The Versions

29/08 2017
29/08 2017