Description Usage Arguments Value Note
This function will call the /v2/room
API route if necessary to
fetch the room-id map. If a room has been found before, it will use
the cached value. Otherwise, if it is not found, it will refresh
the cache.
1 | hipchat_room_id(room_name, api_token = hipchat_api_token())
|
room_name |
character. A character vector giving the room name. This is vectorized if you would like IDs for multiple rooms. |
api_token |
character. By default, |
A named integer vector, with the names being the room names and the values being the room IDs. If a room ID is not found, the value returned will be NA, so that if you pass in one room name and it does not exist, NA will be returned.
This will call the hipchat API at https://api.hipchat.com/v2/room
to fetch the room-id map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.