Qore SewioRestClient Module Reference  1.4

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:
#!/usr/bin/env qore
%new-style
%strict-args
%require-types
%enable-all-warnings
%requires SewioRestClient
hash opts = (
"apikey": ENV.SEWIO_API_KEY,
);
SewioRestClient rest(opts);
hash ans = rest.get("api/anchors");
printf("%N\n", ans.body);
string printf(string fmt,...)

Release Notes

SewioRestClient v1.4

  • implemented support for a data provider scheme cache and rich option information for connections (issue 4025)

SewioRestClient v1.3

  • removed the SewioRestConnection::getConstructorInfo() and SewioRestConnection::getConstructorInfoImpl() methods (issue 3696)

SewioRestClient v1.2

  • all connection clases have unified constructor

SewioRestClient v1.1

  • added the SewioConnection::getConstructorInfoImpl() method to allow connections to be created dynamically, potentially in another process from a network call (removed in SewioRestClient 1.3) (issue 2628)

SewioRestClient v1.0.1

SewioRestClient v1.0

  • the initial version of the SewioRestClient module