Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 828 Bytes

File metadata and controls

26 lines (20 loc) · 828 Bytes

Foxie.com API Library

This is standalone library, provides php implementation to interact with foxie.com messaging API.

Api Documentation

Usage

  1. Create Credentials and Connection classes
$credentials = new Foxie\Connection\Credentials($username, $password);
$connection  = new Foxie\Connection\Connection($credentials);
  1. Make Request class and pass connection to it's constructor argument, then call send() method with argument of array, that contain required and optional parameters of the request, based on Api Documentation.
$request  = new Foxie\Request\Balance($connection);
$response = $request->send([]);
  1. The response will contain Data class with result of your request.
echo $response->balance; // 0.0