All URIs are relative to https://radiomanager.io/api/v2
Method | HTTP request | Description |
---|---|---|
getStringsByName | GET /strings/{name} | Get Strings (formatted) |
TextString getStringsByName(name, opts)
Get Strings (formatted)
Get RadioText/DAB String for publication based on String Templates
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.StringApi();
let name = "name_example"; // String | Name of String Template **(Required)**
let opts = {
'fullModel': true // Boolean | Full model or content only **(Optional)**
};
apiInstance.getStringsByName(name, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
name | String | Name of String Template (Required) | |
fullModel | Boolean | Full model or content only (Optional) | [optional] |
- Content-Type: Not defined
- Accept: application/json