Skip to content

An easy to use C# wrapper of the V2 Hipchat API

Notifications You must be signed in to change notification settings

jessebarocio/Hipchat-CS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hipchat-CS

MyGet Build Status

An easy to use C# wrapper on the V2 Hipchat API

Can be installed through nuget.

Install-Package Hipchat-CS

Work in progress

Finished Methods

  • SetTopic
  • GetRoom
  • GenerateToken
  • DeleteRoom
  • UpdateRoom
  • DeleteWebhook
  • CreateRoom
  • GetAllRooms
  • SendNotification
  • CreateWebHook
  • GetAllWebhooks
  • GetAllUsers

All methods have several optional paramaters and or overloads, fully documented. Check intellisense.

Examples

//will look in app.config for the appSetting 'hipchat_auth_token', 
//or you can pass it in via the constructor
var client = new HipchatClient();

//check source or intellisense for overloads
//create a default room with whoever the api key holder is as owner
HipchatCreateRoomResponse testRoom = client.CreateRoom("My Test Room");

//send a message to the created room with the green background color
client.SendNotification(testRoom.Id, "Hello from Api!", RoomColors.Green);

//delete the room, kicking everyone out
client.DeleteRoom(testRoom.Id);

For more examples check the IntegrationTests project files

About

An easy to use C# wrapper of the V2 Hipchat API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%