Difference between revisions of "API PHP Wrapper"

From UnionCloud Support
Jump to: navigation, search
(Created page with "A number of api's have been created to allow programmatic access to the UnionCloud platform. * Authentication * Uploads * Users * UserGroup / UserGroup Memberships * Events...")
 
m (Spelling/ Grammar Include > Includes)
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:
  
 
== Getting Started==
 
== Getting Started==
The api's are mostly documented on [http://docs.ucapi.apiary.io/ apiary.io]. You will need to create an account on apiary, then submit a support ticket to gain access to the documentation. The developer team keep this up to date and it include example calls which show what you can get from the system by varying the paramters.
+
The api's are mostly documented on [http://docs.ucapi.apiary.io/ apiary.io]. You will need to create an account on apiary, then submit a support ticket to gain access to the documentation. The developer team keep this up to date and it includes example calls which show what you can get from the system by varying the paramters.
  
Its best to test out the api functionality in the UAT environment first, so not to  
+
Its best to test out the api functionality in the UAT environment first, so not to effect the production site.
  
 
==Wrappers==
 
==Wrappers==
 
===PHP===
 
===PHP===
[http://www.yusu.org YUSU] have created a wrapper for PHP which can be installed via composer [https://packagist.org/packages/yusu/nus-unioncloud-api-php yusu/nus-unioncloud-api-php]. This is an initial build, handling the making of the requests and returning the data - error handling and managing rate limits will be added in future releases.
+
[http://www.yusu.org YUSU] have created a wrapper for PHP which can be installed via composer [https://packagist.org/packages/yusu/unioncloud-api-php yusu/unioncloud-api-php]. This is an second version and replaces the existing api wrapper.

Latest revision as of 13:50, 7 February 2018

A number of api's have been created to allow programmatic access to the UnionCloud platform.

  • Authentication
  • Uploads
  • Users
  • UserGroup / UserGroup Memberships
  • Events
  • Elections
  • Groups (to be released soon)

Getting Started

The api's are mostly documented on apiary.io. You will need to create an account on apiary, then submit a support ticket to gain access to the documentation. The developer team keep this up to date and it includes example calls which show what you can get from the system by varying the paramters.

Its best to test out the api functionality in the UAT environment first, so not to effect the production site.

Wrappers

PHP

YUSU have created a wrapper for PHP which can be installed via composer yusu/unioncloud-api-php. This is an second version and replaces the existing api wrapper.