Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.72 KB

StationApi.md

File metadata and controls

71 lines (52 loc) · 1.72 KB

RadioManager.Api.StationApi

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

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

GetStation

StationResult GetStation ()

Get own station only

Get own station only

Example

using System;
using System.Diagnostics;
using RadioManager.Api;
using RadioManager.Client;
using RadioManager.Model;

namespace Example
{
    public class GetStationExample
    {
        public void main()
        {
            // Configure API key authorization: API Key
            Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");

            var apiInstance = new StationApi();

            try
            {
                // Get own station only
                StationResult result = apiInstance.GetStation();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StationApi.GetStation: " + e.Message );
            }
        }
    }
}

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]