Description Usage Arguments Value Note References Examples
Show the history for a given Hipchat room.
1 2 3 | hipchat_history(room_name_or_id, date = "recent", timezone = "UTC",
start_index = 0, max_results = 100, reverse = TRUE, full = FALSE,
api_token = hipchat_api_token())
|
room_name_or_id |
character or integer. |
date |
character or Date. Either the latest date to fetch history,
or 'recent' to fetch the latest 75 messages. The default is |
timezone |
character. See note. By default, |
start_index |
integer. The offset for messages to return. If |
max_results |
integer. Miaxmum number of messages to return. If |
reverse |
logical. Reverse the output so that the olest message is first.
The default is |
full |
logical. Whether or not to display full history. By default, |
api_token |
character. By default, |
If full = FALSE
(the default), a data.frame
with columns c('id', 'from', 'message', 'time', 'color')
. Otherwise, a full list
of the JSON response from the Hipchat API. (see References section)
for available timezones, see the tz database at: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
https://www.hipchat.com/docs/apiv2/method/view_room_history
1 2 3 4 5 6 7 8 | ## Not run:
hipchat_history('some room')
hipchat_history('some room', start_index = 100, max_results = 200, date = Sys.time())
# A data.frame of the 200 most recent messages with an offset of 100
hipchat_history('some room', full = TRUE)
# Full Hipchat API output for the latest 75 messages.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.