daemonChannelReportGet
get the channel report
/sdrdaemon/channel/report
Usage and SDK Samples
curl -X GET "http://localhost/sdrdaemon/channel/report"
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 {
ChannelReport result = apiInstance.daemonChannelReportGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DaemonApi#daemonChannelReportGet");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DaemonApi;
public class DaemonApiExample {
public static void main(String[] args) {
DaemonApi apiInstance = new DaemonApi();
try {
ChannelReport result = apiInstance.daemonChannelReportGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DaemonApi#daemonChannelReportGet");
e.printStackTrace();
}
}
}
DaemonApi *apiInstance = [[DaemonApi alloc] init];
[apiInstance daemonChannelReportGetWithCompletionHandler:
^(ChannelReport 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.daemonChannelReportGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;
namespace Example
{
public class daemonChannelReportGetExample
{
public void main()
{
var apiInstance = new DaemonApi();
try
{
ChannelReport result = apiInstance.daemonChannelReportGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DaemonApi.daemonChannelReportGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DaemonApi();
try {
$result = $api_instance->daemonChannelReportGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DaemonApi->daemonChannelReportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DaemonApi;
my $api_instance = SWGSDRangel::DaemonApi->new();
eval {
my $result = $api_instance->daemonChannelReportGet();
print Dumper($result);
};
if ($@) {
warn "Exception when calling DaemonApi->daemonChannelReportGet: $@\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_channel_report_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DaemonApi->daemonChannelReportGet: %s\n" % e)