daemonDataSettingsGet
Get data handling details
/sdrdaemon/data/settings
Usage and SDK Samples
curl -X GET "http://localhost/sdrdaemon/data/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DaemonApi;
import java.io.File;
import java.util.*;
public class DaemonApiExample {
public static void main(String[] args) {
DaemonApi apiInstance = new DaemonApi();
try {
SDRDaemonDataSettings result = apiInstance.daemonDataSettingsGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DaemonApi#daemonDataSettingsGet");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DaemonApi;
public class DaemonApiExample {
public static void main(String[] args) {
DaemonApi apiInstance = new DaemonApi();
try {
SDRDaemonDataSettings result = apiInstance.daemonDataSettingsGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DaemonApi#daemonDataSettingsGet");
e.printStackTrace();
}
}
}
DaemonApi *apiInstance = [[DaemonApi alloc] init];
[apiInstance daemonDataSettingsGetWithCompletionHandler:
^(SDRDaemonDataSettings output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DaemonApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.daemonDataSettingsGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;
namespace Example
{
public class daemonDataSettingsGetExample
{
public void main()
{
var apiInstance = new DaemonApi();
try
{
SDRDaemonDataSettings result = apiInstance.daemonDataSettingsGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DaemonApi.daemonDataSettingsGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DaemonApi();
try {
$result = $api_instance->daemonDataSettingsGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DaemonApi->daemonDataSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DaemonApi;
my $api_instance = SWGSDRangel::DaemonApi->new();
eval {
my $result = $api_instance->daemonDataSettingsGet();
print Dumper($result);
};
if ($@) {
warn "Exception when calling DaemonApi->daemonDataSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DaemonApi()
try:
api_response = api_instance.daemon_data_settings_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DaemonApi->daemonDataSettingsGet: %s\n" % e)