All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
get_station | GET /station | Get own station only |
StationResult get_station
Get own station only
Get own station only
# load the gem
require 'radiomanager_client'
# setup authorization
RadioManagerClient.configure do |config|
# Configure API key authorization: API Key
config.api_key['api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['api-key'] = 'Bearer'
end
api_instance = RadioManagerClient::StationApi.new
begin
#Get own station only
result = api_instance.get_station
p result
rescue RadioManagerClient::ApiError => e
puts "Exception when calling StationApi->get_station: #{e}"
end
This endpoint does not need any parameter.
[API Key](../README.md#API Key)
- Content-Type: application/json
- Accept: application/json