Name : perl-WebService-BambooHR
| |
Version : 0.07
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.66
| Date : 2024-08-05 19:53:46
|
Group : Development/Libraries/Perl
| Source RPM : perl-WebService-BambooHR-0.07-1.66.src.rpm
|
Size : 0.06 MB
| |
Packager : (none)
| |
Summary : Interface to the Api for Bamboohr.Com
|
Description :
*NOTE:* this is very much an alpha release. The interface is likely to change from release to release. Suggestions for improving the interface are welcome.
*WebService::BambooHR* provides an interface to a subset of the functionality in the API for BambooHR (a commercial online HR system: lets a company manage employee information, handle time off, etc).
To talk to BambooHR you must first create an instance of this module:
my $bamboo = WebService::BambooHR->new( company => \'mycompany\', api_key => $api_key, );
The *company* field is the domain name that you use to access BambooHR. For example, the above company would be accessed via \'mycompany.bamboohr.com\'. You also need an API key. See the section below on how to create one.
Having created an instance, you can use the public methods that are described below. For example, to display a list of all employees:
AATTemployees = $bamboo->employee_list(); foreach my $employee (AATTemployees) { printf \"Hi %s %s\ \", $employee->firstName, $employee->lastName; }
Note that the \'print\' statement could more succinctly have been written as:
print \"Hi $employee\ \";
The employee class overloads string-context rendering to display the employee\'s name.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-W/openSUSE_Tumbleweed/noarch |