Hipchat-CS
Hipchat-CS copied to clipboard
Export chart possible
Using your Hipchat-CS will I be able to export the chat history from Hipchat server?
Hey Birarich,
We haven't added the methods for that if that's even possible. It looks like there is a couple new history api import methods (if that's what you're referring to), but I haven't looked into them at all yet.
@birarich
It possible to get room history using client.ViewRoomHistory(room, date, "UTC", 0, 1000)
to get the room history in 1K-message chucks. I'm working on a quick test harness console app that just dumps the results into a json file. You basically have to loop backwards in time, in 1K increments, always using finding oldest msg-date and then querying using that date backwards in a loop.
I can push the code to github... but it's not pretty by any standards :tired_face:
I'm trying to do the same for 1-to-1 or private user chats but haven't been able to see how I can pass a user ID or user name to get that. Is there a way to do that @KyleGobel ?
ps: the 2.0 API for getting the private chat history is very similar to the one RoomHistory one