Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.37 KB

StationApi.md

File metadata and controls

61 lines (41 loc) · 1.37 KB

RadioManagerClient::StationApi

Load the API package

use RadioManagerClient::Object::StationApi;

All URIs are relative to https://radiomanager.io/api/v2

Method HTTP request Description
get_station GET /station Get own station only

get_station

StationResult get_station()

Get own station only

Get own station only

Example

use Data::Dumper;
use RadioManagerClient::StationApi;
my $api_instance = RadioManagerClient::StationApi->new(

    # Configure API key authorization: API Key
    api_key => {'api-key' => 'YOUR_API_KEY'},
    # uncomment below to setup prefix (e.g. Bearer) for API key, if needed
    #api_key_prefix => {'api-key' => 'Bearer'},
);


eval { 
    my $result = $api_instance->get_station();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StationApi->get_station: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

StationResult

Authorization

[API Key](../README.md#API Key)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]