mirror of
https://github.com/brunofontes/Memsource-API.git
synced 2024-11-23 19:00:50 +00:00
README.md: adding info about List Project
This commit is contained in:
parent
60c5e49eb3
commit
7d21979193
17
README.md
17
README.md
@ -35,5 +35,22 @@ $token = $memsource->oauth()->getAccessToken($authCode, $client_id, $client_secr
|
||||
|
||||
Safely store this `$token` with the related user data and use it on any
|
||||
|
||||
## Project
|
||||
|
||||
### Project list
|
||||
|
||||
To list all projects...
|
||||
|
||||
```php
|
||||
$memsource = new \BrunoFontes\Memsource();
|
||||
$projectList = $memsource->project()->listProjects;
|
||||
```
|
||||
|
||||
To use filters, add the API filter as parâmeter:
|
||||
|
||||
```php
|
||||
$projectList = $memsource->project()->listProjects(['name' => 'Project X']);
|
||||
```
|
||||
|
||||
## Bilingual Files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user