dataGet
Returns the TJF object of the current measurement
/data
Usage and SDK Samples
curl -X GET "http://device-ip-address.example.com/data"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.T300Api;
import java.io.File;
import java.util.*;
public class T300ApiExample {
public static void main(String[] args) {
T300Api apiInstance = new T300Api();
try {
Object result = apiInstance.dataGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling T300Api#dataGet");
e.printStackTrace();
}
}
}
import org.openapitools.client.api.T300Api;
public class T300ApiExample {
public static void main(String[] args) {
T300Api apiInstance = new T300Api();
try {
Object result = apiInstance.dataGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling T300Api#dataGet");
e.printStackTrace();
}
}
}
T300Api *apiInstance = [[T300Api alloc] init];
// Returns the TJF object of the current measurement
[apiInstance dataGetWithCompletionHandler:
^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var TestoAppsHttpApi = require('testo_apps_http_api');
var api = new TestoAppsHttpApi.T300Api()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.dataGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class dataGetExample
{
public void main()
{
var apiInstance = new T300Api();
try
{
// Returns the TJF object of the current measurement
Object result = apiInstance.dataGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling T300Api.dataGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new OpenAPITools\Client\Api\T300Api();
try {
$result = $api_instance->dataGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling T300Api->dataGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::T300Api;
my $api_instance = WWW::OPenAPIClient::T300Api->new();
eval {
my $result = $api_instance->dataGet();
print Dumper($result);
};
if ($@) {
warn "Exception when calling T300Api->dataGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = openapi_client.T300Api()
try:
# Returns the TJF object of the current measurement
api_response = api_instance.data_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling T300Api->dataGet: %s\n" % e)
extern crate T300Api;
pub fn main() {
let mut context = T300Api::Context::default();
let result = client.dataGet(&context).wait();
println!("{:?}", result);
}