2017 © Pedro Peláez
 

library work-etc-client

A thin HTTP client for WORK[etc]'s API.

image

jakezatecky/work-etc-client

A thin HTTP client for WORK[etc]'s API.

  • Thursday, June 29, 2017
  • by jzatecky
  • Repository
  • 1 Watchers
  • 1 Stars
  • 126 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 5 Versions
  • 24 % Grown

The README.md

WORK[etc] Client for PHP

Packagist Build Status GitHub license Scrutinizer Code Quality, (*1)

Warning – This package is no longer maintained., (*2)

WorkEtcClient is a thin HTTP client to the [WORK[etc] API]. It handles login authentication and simple invocations of the WORK[etc] operations., (*3)

Installation

This library is only available through a Composer package. Add the following to your composer.json:, (*4)

``` json { "require": { "jakezatecky/work-etc-client": "^2.0.0" } }, (*5)


## Usage Usage is simple. Invoke `WorkEtcClient::connect` and pass in your organization's domain, your email, and your password. Then, call the `invoke` method and pass in the relevant [operation] and its required parameters as an associative array. ``` php $domain = 'yourcompany'; $email = 'youremail@mail.com'; $password = 'yourpassword'; // Authenticate with WORK[etc] and get access to the API $api = \WorkEtcClient\WorkEtcClient::connect($domain, $email, $password); // Invoke an operation without any parameters $stageGroups = $api->invoke('GetProjectStageGroups'); // Invoke an operation with parameters $projects = $api->invoke('FindProjects', [ 'keywords' => 'Install', ]);

The example above is for the following WORK[etc] address. Replace yourcompany with whatever sub-domain is associated with your organization:, (*6)

https://yourcompany.worketc.com

License

MIT license., (*7)

The Versions

29/06 2017

dev-master

9999999-dev https://github.com/jakezatecky/work-etc-client-php

A thin HTTP client for WORK[etc]'s API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jake Zatecky

api client worketc

08/12 2015

v2.0.0

2.0.0.0 https://github.com/jakezatecky/work-etc-client-php

A thin HTTP client for WORK[etc]'s API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jake Zatecky

api client worketc

15/09 2015

v1.1.0

1.1.0.0 https://github.com/jakezatecky/work-etc-client-php

A thin HTTP client for WORK[etc]'s API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jake Zatecky

api client worketc

20/08 2015

v1.0.1

1.0.1.0 https://github.com/jakezatecky/work-etc-client-php

A thin HTTP client for WORK[etc]'s API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jake Zatecky

api client worketc

16/08 2015

v1.0.0

1.0.0.0 https://github.com/jakezatecky/work-etc-client-php

A thin HTTP client for WORK[etc]'s API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jake Zatecky

api client worketc