Overview

Namespaces

  • ApiAxle
    • Api
    • Shared
  • ApiAxleTest
    • Api
    • Shared
  • PHP

Classes

  • Config
  • HttpRequest
  • ItemList
  • Utilities

Exceptions

  • ApiException
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Utilities

Utilities class to perform common functions for API activities.

Namespace: ApiAxle\Shared
Author: Phillip Shipley <phillip@phillipshipley.com>
Located at src/ApiAxle/Shared/Utilities.php
Methods summary
public static stdClass
# callApi( string $apiPath, string $method = 'GET', array $data = null, ApiAxle\Shared\Config $config )

Wrapper function for making the HttpRequest to the ApiAxle API

Wrapper function for making the HttpRequest to the ApiAxle API

This method will set the proper content type and attach the api key and api signature if needed before making the call.

Parameters

$apiPath
string
$apiPath
$method
string
$method
$data
array
$data
$config
ApiAxle\Shared\Config
$config

Returns

stdClass

Throws

ApiAxle\Shared\ApiException
ErrorException
fillup/apiaxle API documentation generated by ApiGen 2.8.0