CRDevelopment.BambooNET
0.1.4
Additional Details
This package is development and should not be used
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CRDevelopment.BambooNET --version 0.1.4
NuGet\Install-Package CRDevelopment.BambooNET -Version 0.1.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CRDevelopment.BambooNET" Version="0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CRDevelopment.BambooNET --version 0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CRDevelopment.BambooNET, 0.1.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CRDevelopment.BambooNET as a Cake Addin #addin nuget:?package=CRDevelopment.BambooNET&version=0.1.4 // Install CRDevelopment.BambooNET as a Cake Tool #tool nuget:?package=CRDevelopment.BambooNET&version=0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BambooNET
BambooHR API .NET Client
Table of Contents
Usage
static readonly int BAMBOO_ID = 123;
static readonly DateTime START_DATE = new(2024, 11, 30);
static readonly DateTime END_DATE = new(2024, 12, 13);
try
{
var bambooClient = new BambooClient("company_subdomain", "api_key");
var timesheets = await bambooClient.TimeTracking.GetTimesheetEntriesAsync(START_DATE, END_DATE);
Console.WriteLine($"TimeTracking.GetTimesheetEntriesAsync Results: {timesheets.Count}");
var requests = await bambooClient.TimeOff.GetRequestsAsync(START_DATE, END_DATE);
Console.WriteLine($"TimeOff.GetRequestsAsync Results: {requests.Count}");
var whosout = await bambooClient.TimeOff.GetWhosOutAsync(START_DATE, END_DATE);
Console.WriteLine($"TimeOff.GetWhosOutAsync Results: {whosout.Count}");
var employeedata = await bambooClient.Employees.GetEmployeeDataAsync(BAMBOO_ID);
Console.WriteLine($"Employees.GetTabularDataAsync Results: {employeedata.Count}");
var tabledata = await bambooClient.Employees.GetTabularDataAsync<JobInfoData>(BAMBOO_ID, "jobInfo");
Console.WriteLine($"Employees.GetTabularDataAsync Results: {tabledata.Count}");
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
Reference
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior.
For more information see the Code of Conduct.
Issues / Support
See SECURITY.md for feature requests or bug reports.
Contributing
See CONTRIBUTING.md for more information.
Author
License
Copyright © 2024 CR Development. Licensed under the MIT license.
See LICENSE.md or https://opensource.org/license/mit for more details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 112.1.0)
- RestSharp.Serializers.NewtonsoftJson (>= 112.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
0.1.22 | 78 | 12/30/2024 | |
0.1.21 | 93 | 12/29/2024 | |
0.1.20 | 98 | 12/29/2024 | |
0.1.19 | 94 | 12/29/2024 | |
0.1.18 | 90 | 12/28/2024 | |
0.1.17 | 88 | 12/28/2024 | |
0.1.16 | 90 | 12/27/2024 | |
0.1.15 | 94 | 12/27/2024 | |
0.1.14 | 88 | 12/27/2024 | |
0.1.13 | 87 | 12/27/2024 | |
0.1.12 | 96 | 12/26/2024 | |
0.1.11 | 87 | 12/26/2024 | |
0.1.10 | 90 | 12/26/2024 | |
0.1.9 | 90 | 12/26/2024 | |
0.1.8 | 84 | 12/26/2024 | |
0.1.7 | 88 | 12/26/2024 | |
0.1.6 | 93 | 12/25/2024 | |
0.1.5 | 90 | 12/25/2024 | |
0.1.4 | 101 | 12/24/2024 |