Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcmatters/upwork-api
https://github.com/mcmatters/upwork-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcmatters/upwork-api
- Owner: MCMatters
- Created: 2019-03-10T22:53:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T19:54:57.000Z (almost 2 years ago)
- Last Synced: 2024-09-08T05:27:21.191Z (4 months ago)
- Language: PHP
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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']);
```