Skip to content
Sample code for Wikitude Cloud Recognition API
Branch: master
Clone or download
ChrisWiki Update v3 (#6)
* - update ManagerAPI to include new endpoints
- update test examples

* Update api URL

* Update PHP examples
- Update create object targets endpoint url

* Update PHP examples

* Update Ruby examples

* Update Python examples

* Update Java examples

* Change token to manager-token

* updates comment
Latest commit 2e6333f Aug 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Java
NodeJs Update v3 (#6) Aug 29, 2017
PHP Update v3 (#6) Aug 29, 2017
Python Update v3 (#6) Aug 29, 2017
Ruby
.gitignore Adds python pyc file to gitignore Mar 3, 2015
README.md - added a change log Jul 22, 2016

README.md

Examples

This section highlights example implementations for various programming languages and tools how to communicate with the Wikitude Cloud Recognition service. The examples are just meant to assist you getting started with the Manager API of the Cloud Recognition service in your project. Every example is structured in the following way:

  • ManagerAPI.[extension] wraps the interaction between the client and the Wikitude Manager API.
  • ManagerAPITest.[extension] configures the ManagerAPI object (version, token etc.) and triggers the conversion.

In addition, the following applies to all examples:

  • To run the samples, the Manager API token string in ManagerAPITest.[extension] (currently set to "<enter-your-token-here>") must be changed to a valid token. To generate a token, please check on the license page.

Java

view source code on GitHub

Node.js

view source code on GitHub
## PHP
view source code on GitHub
## Python
view source code on GitHub
## Ruby
view source code on GitHub

Change Log

All notable changes to this project will be documented in this file.

2.1.0

  • compatible with API version 2
  • an example for polling the status of asynchronous operations was added
  • addTargets api method was added
  • generateTargetCollection now waits until the operations finishes
  • Java
    • APIException gets thrown if the service responds with an error
  • NodeJs
    • APIError gets thrown if the service responds with an error
    • api methods now return a Promises
  • PHP
    • APIException gets thrown if the service responds with an error
  • Python
    • APIException gets thrown if the service responds with an error
  • Ruby
    • APIError gets thrown if the service responds with an error

2.0.0

  • initial release version of examples
  • compatible with API version 2
You can’t perform that action at this time.