Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.17 KB

StationApi.md

File metadata and controls

55 lines (34 loc) · 1.17 KB

radiomanager.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

import radiomanager from 'radiomanager';
let defaultClient = radiomanager.ApiClient.instance;
// Configure API key authorization: API-Key
let API-Key = defaultClient.authentications['API-Key'];
API-Key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//API-Key.apiKeyPrefix = 'Token';

let apiInstance = new radiomanager.StationApi();
apiInstance.getStation().then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

Parameters

This endpoint does not need any parameter.

Return type

StationResult

Authorization

API-Key

HTTP request headers

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