-
Notifications
You must be signed in to change notification settings - Fork 4
Getting started
In order to get started, you need to set up your connection to your Bamboo server. Therefore you need to create a BambooApi object that also enables you to create your requests via fluent syntax. It also checks the version of the connected Bamboo REST API, so that all sent requests can be compatible with your Bamboo version. It's recommended that you create this BambooApi once and not for every request because of this version checking and the following set up of the internal structure.
Example code:
var api = new BambooApi("https://my.bamboo.com", "MyUserName", "MyPassword");
That's all you need to set up in the first place. Now you can use your BambooApi to create and set up your first request. After setting it up, you just have to call ExecuteAsync() and your request will be processed.
Here is a simple example. On the following pages, you will see what services are currently supported and what options you'll have:
var response = await api
.ProjectRequest
.GetAllProjects()
.ExecuteAsync();