Qore SewioRestClient Module Reference  1.0
 All Classes Namespaces Functions Variables Groups Pages

SewioRestClient Introduction

The SewioRestClient module provides an API for calling REST services with Sewio.net's RTLS Studio servers.

To use this module, use "%requires SewioRestClient" in your code.

All the public symbols in the module are defined in the SewioRestClient namespace.

The main classes are:

Example:
1 #!/usr/bin/env qore
2 
3 %new-style
4 %strict-args
5 %require-types
6 %enable-all-warnings
7 
8 %requires SewioRestClient
9 
10 hash opts = (
11  "apikey": ENV.SEWIO_API_KEY,
12 );
13 
14 SewioRestClient rest(opts);
15 hash ans = rest.get("api/anchors");
16 printf("%N\n", ans.body);

Release Notes

SewioRestClient v1.0

  • the initial version of the SewioRestClient module