Skip to content

lengieng/php-wrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimplyCast PHP Wrapper

Description

The SimplyCast PHP Wrapper helps facilitate integration with the SimplyCast API. It performs authentication and serialization for many of the resources in the API and includes some additional helper functionality beyond what the API provides.

Usage

Currently, the PHP wrapper is contained in the single included file, SimplyCastAPI.php. The API wrapper makes use of namespaces (under SimplyCast). To use it give your API keys as a contstructor to the main \SimplyCast\API class. Then, you make calls to the helper functions by calling $api->resourceSubcategory->apiFunction. Example:

$api = new \SimplyCast\API('<publickey>', '<secretkey>');
	
$api->contactManager->getContacts();
$api->simplyCast360->getProject(<project id>);

Returned responses from the API functions are direct decoded JSON, so the array structures returned will mirror the JSON response examples in the API reference documentation.

Licensing

This software is distributed under the MIT licence. Please see the attached file called LICENCE.txt.

About

SimplyCast API PHP Wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%