1.1.12 • Published 1 year ago

radiomanager v1.1.12

Weekly downloads
1
License
MIT
Repository
-
Last release
1 year ago

radiomanager

Pluxbox RadioManager gives you the power, flexibility and speed you always wanted in a lightweight and easy-to-use web-based radio solution. With Pluxbox RadioManager you can organise your radio workflow and automate your omnichannel communication with your listeners. We offer wide range specialised services for the radio and connections like Hybrid Radio, Visual Radio, your website and social media without losing focus on your broadcast. For more information visit: pluxbox.com

  • API version: 2.0
  • Package version: 1.1.12
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit https://pluxbox.com

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install radiomanager --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your radiomanager from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

Getting Started

Please follow the installation instruction and execute the following JS code:

var radiomanager = require('radiomanager');

var defaultClient = radiomanager.ApiClient.instance;
// Configure API key authorization: API-Key
var 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['api-key'] = "Token"

var api = new radiomanager.BlockApi()
var id = 789; // {Number} ID of Block **(Required)**
var opts = {
  'externalStationId': 789 // {Number} Query on a different (content providing) station *(Optional)*
};
api.getBlockById(id, opts).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
radiomanager.BlockApigetBlockByIdGET /blocks/{id}Get block by id
radiomanager.BlockApigetCurrentBlockGET /blocks/currentGet current Block
radiomanager.BlockApigetNextBlockGET /blocks/nextGet upcoming Block
radiomanager.BlockApilistBlocksGET /blocksGet a list of all blocks currently in your station.
radiomanager.BroadcastApicreateBroadcastPOST /broadcastsCreate broadcast.
radiomanager.BroadcastApideleteBroadcastByIdDELETE /broadcasts/{id}Delete broadcast by id
radiomanager.BroadcastApigetBroadcastByIdGET /broadcasts/{id}Get broadcast by id
radiomanager.BroadcastApigetCurrentBroadcastGET /broadcasts/currentGet current Broadcast
radiomanager.BroadcastApigetDailyEPGGET /broadcasts/epg/dailyGet daily EPG
radiomanager.BroadcastApigetEPGByDateGET /broadcasts/epgGet EPG by date
radiomanager.BroadcastApigetNextBroadcastGET /broadcasts/nextGet next Broadcast
radiomanager.BroadcastApigetWeeklyEPGGET /broadcasts/epg/weeklyGet weekly EPG
radiomanager.BroadcastApilistBroadcastsGET /broadcastsGet all broadcasts.
radiomanager.BroadcastApiprintBroadcastByIdGET /broadcasts/print/{id}Print broadcast by id with template
radiomanager.BroadcastApiupdateBroadcastByIDPATCH /broadcasts/{id}Update broadcast by id
radiomanager.CampaignApicreateCampaignPOST /campaignsCreate campaign.
radiomanager.CampaignApideleteCampaignByIdDELETE /campaigns/{id}Delete campaign by id
radiomanager.CampaignApigetCampaignByIdGET /campaigns/{id}Get campaign by id
radiomanager.CampaignApilistCampaignsGET /campaignsGet all campaigns.
radiomanager.CampaignApiupdateCampaignByIDPATCH /campaigns/{id}Update campaign by id
radiomanager.ContactApicreateContactPOST /contactsCreate contact.
radiomanager.ContactApideleteContactByIdDELETE /contacts/{id}Delete contact by id
radiomanager.ContactApigetContactByIdGET /contacts/{id}Get contact by id
radiomanager.ContactApilistContactsGET /contactsGet all contacts.
radiomanager.ContactApiupdateContactByIDPATCH /contacts/{id}Update contact by id
radiomanager.GenreApigetGenreByIdGET /genres/{id}Get genre by id
radiomanager.GenreApilistGenresGET /genresList all genres.
radiomanager.GroupApigetGroupByIdGET /groups/{id}Get group by id
radiomanager.GroupApilistGroupsGET /groupsGet all groups.
radiomanager.ItemApicreateItemPOST /itemsCreate an new item.
radiomanager.ItemApicurrentItemPostStructurePOST /items/current/structurePost a current playing item, keep structure
radiomanager.ItemApicurrentItemPostTimingPOST /items/current/timingPost current playing Item
radiomanager.ItemApideleteItemByIdDELETE /items/{id}Delete item by ID.
radiomanager.ItemApigetCurrentItemGET /items/currentGet current Item
radiomanager.ItemApigetItemByIdGET /items/{id}Get extended item details by ID.
radiomanager.ItemApilistItemsGET /itemsGet a list of all the items currently in your station.
radiomanager.ItemApiplaylistPostMergePOST /items/playlist/mergePost a playlist, do not remove previously imported items
radiomanager.ItemApiplaylistPostStructurePOST /items/playlist/structurePost a playlist, keep current structure
radiomanager.ItemApiplaylistPostTimingPOST /items/playlist/timingPost a playlist
radiomanager.ItemApistopCurrentItemPOST /items/stopcurrentStop an Item
radiomanager.ItemApiupdateItemByIdPATCH /items/{id}Update extended item details by ID.
radiomanager.ModelTypeApigetModelTypeByIdGET /model_types/{id}Get modelType by id
radiomanager.ModelTypeApilistModelTypesGET /model_typesGet all modelTypes.
radiomanager.PresenterApicreatePresenterPOST /presentersCreate presenter.
radiomanager.PresenterApideletePresenterByIdDELETE /presenters/{id}Delete presenter by id
radiomanager.PresenterApigetPresenterByIdGET /presenters/{id}Get presenter by id
radiomanager.PresenterApilistPresentersGET /presentersGet all presenters.
radiomanager.PresenterApiupdatePresenterByIDPATCH /presenters/{id}Update presenter by id
radiomanager.ProgramApicreateProgramPOST /programsCreate program.
radiomanager.ProgramApideleteProgramByIdDELETE /programs/{id}Delete program by id
radiomanager.ProgramApigetProgramByIdGET /programs/{id}Get program by id
radiomanager.ProgramApilistProgramsGET /programsGet all programs.
radiomanager.ProgramApiupdateProgramByIDPATCH /programs/{id}Update program by id
radiomanager.StationApigetStationGET /stationGet own station only
radiomanager.StringApigetStringsByNameGET /strings/{name}Get Strings (formatted)
radiomanager.TagApicreateTagPOST /tagsCreate tag.
radiomanager.TagApideleteTagByIdDELETE /tags/{id}Delete tag by id
radiomanager.TagApigetTagByIdGET /tags/{id}Get tags by id
radiomanager.TagApilistTagsGET /tagsGet a list of all the tags currently in your station.
radiomanager.TagApiupdateTagByIDPATCH /tags/{id}Update tag by id
radiomanager.UserApideleteUserByIdDELETE /users/{id}Remove User from station by Id
radiomanager.UserApigetUserByIdGET /users/{id}Get user by id
radiomanager.UserApiinviteUserByMailPOST /users/inviteInvite user by mail
radiomanager.UserApilistUsersGET /usersGet all users.
radiomanager.VisualSlideApigetVisualSlideGET /visualGet Visual Slide Image

Documentation for Models

Documentation for Authorization

API-Key

  • Type: API key
  • API key parameter name: api-key
  • Location: HTTP header
1.1.12

1 year ago

1.2.1

1 year ago

1.1.6

6 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.101

7 years ago

1.0.100

7 years ago

1.0.99

7 years ago

1.0.97

7 years ago

1.0.96

7 years ago

1.0.95

7 years ago

1.0.94

7 years ago

1.0.93

7 years ago

1.0.92

7 years ago

1.0.91

7 years ago

1.0.90

7 years ago

1.0.89

7 years ago

1.0.87

7 years ago

1.0.86

7 years ago

1.0.85

7 years ago

1.0.84

7 years ago

1.0.83

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago