Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mcmatters/upwork-api


https://github.com/mcmatters/upwork-api

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

## Upwork API PHP Client

### Installation

```bash
composer require mcmatters/upwork-api
```

### Usage

```php
authorize($redirectUrl, true);
$accessToken = $authClient->accessToken($redirectUrl, $code);

$client = new \McMatters\UpworkApi\UpworkClient($clientId, $clientSecret, $accessToken);

$jobs = $client->job()->search(['q' => 'Laravel', 'job_status' => 'open']);
$job = $client->job()->getJobProfile($jobs['jobs'][0]['id']);
```