Skip to content

Manriel/foxie-com-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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