Creatubbles API Client Unity SDK is a simple library built to help you communicate with the latest Creatubbles API.
Current SDK version: 0.1.4
(see changelog)
Supported Unity versions: 5.4.x
and newer
Supported output platforms: iOS
, macOS
(and possibly others, not yet confirmed)
NOTE! Library is still under development, and the SDK API might change in the future versions.
SDK API reference (Doxygen generated) is available under Docs/reference/html/
as index.html
.
Copy Assets/Scripts/Creatubbles
to you project's Assets/Scripts
folder.
-
Contact us at [email protected] to obtain application ID and secret.
-
Implement IApiConfiguration including your application ID and secret.
See CreatubblesConfiguration for example implementation.
-
SDK project contains a demo scene
CreatubblesDemo
, which can be used to check how the SDK is working. -
Implement ISecureStorage.
See InMemoryStorage for example implementation.
InMemoryStorage can be used for development and testing, however for production a persistent and more secure implementation is required.
There are solutions available on the Unity Asset Store like SPrefs or Secured PlayerPrefs, that could be considered for use as underlying implementation.
-
Configure CreatubblesApiClient with instances of IApiConfiguration and ISecureStorage from previous steps.
-
Use CreatubblesApiClient to create and send requests.
Examples of using the API client can be found under
Assets/Scripts/Demo
:
In order to receive your AppId and AppSecret please contact us at [email protected].
CreatubblesAPIClient is available under the MIT license.