22
33** For detailed usage please see examples for each method.**
44
5- - [ Get All Sounds] ( #get-all-sounds )
6- - [ Get Recommended Sounds] ( #get-recommended-sounds )
5+ - [ Get All Sounds] ( #get-all-sounds )
6+ - [ Get Company's Library Sounds] ( #get-companys-library-sounds )
7+ - [ Get Recommended Sounds] ( #get-recommended-sounds )
78
89### Get All Sounds
910
10- Retrieves sounds given the duration (authorization is not required).
11- If the authorization is not present, then response limits to 5.
11+ Retrieves sounds given the duration (authorization is required).
12+
13+ ``` php
14+ <?php
15+
16+ require '../../vendor/autoload.php';
17+
18+ $renderforestClient = new \Renderforest\ApiClient(
19+ 'your-api-key',
20+ 'your-client-id'
21+ );
22+
23+ $sounds = $renderforestClient->getAllSounds(15);
24+ ```
1225
26+ - The sounds will have greater or equal duration to the specified one.
27+ - ** Remember** — any given value of the duration greater than 180 will be overridden by 180!
28+
29+ [ See get all sounds example] ( /examples/sounds/get-all-sounds.php )
30+
31+ ### Get Company's Library Sounds
32+
33+ Retrieves company's library sounds for given duration (authorization is not required).
34+ If the authorization is not present, then response limits to 5.
35+
1336``` php
1437<?php
1538
1639require '../../vendor/autoload.php';
1740
18- $sounds = \Renderforest\ApiClient::getAllSoundsLimited (15);
41+ $sounds = \Renderforest\ApiClient::getCompanySoundsLimited (15);
1942```
20- [ See get all sounds limited example] ( /examples/sounds/get-all-sounds-limited.php )
2143
22- With authorization it's possible to fetch all sounds.
44+ [ See get company's library sounds limited example] ( /examples/sounds/get-company-sounds-limited.php )
45+
46+ With authorization it's possible to fetch all library sounds.
2347
2448``` php
2549<?php
@@ -31,13 +55,12 @@ $renderforestClient = new \Renderforest\ApiClient(
3155 'your-client-id'
3256);
3357
34- $sounds = $renderforestClient->getAllSounds (15);
58+ $sounds = $renderforestClient->getCompanySounds (15);
3559```
36-
37- - The sounds will have greater or equal duration to the specified one.
60+ - These sounds will have greater or equal duration to the specified one.
3861- ** Remember** — any given value of the duration greater than 180 will be overridden by 180!
3962
40- [ See get all sounds example] ( /examples/sounds/get-all -sounds.php )
63+ [ See get company sounds example] ( /examples/sounds/get-company -sounds.php )
4164
4265
4366### Get Recommended Sounds
@@ -50,7 +73,7 @@ If the authorization is not present, then response limits to 5.
5073
5174require '../../vendor/autoload.php';
5275
53- $sounds = \Renderforest\ApiClient::getRecommendedSoundsLimited(15, 701 );
76+ $sounds = \Renderforest\ApiClient::getRecommendedSoundsLimited(701, 15 );
5477```
5578
5679[ See get recommended sounds limited example] ( /examples/sounds/get-recommended-sounds-limited.php )
@@ -67,7 +90,7 @@ $renderforestClient = new \Renderforest\ApiClient(
6790 'your-client-id'
6891);
6992
70- $sounds = $renderforestClient->getRecommendedSounds(15, 701 );
93+ $sounds = $renderforestClient->getRecommendedSounds(701, 15 );
7194```
7295- These sounds will have greater or equal duration to the specified one.
7396- ** Remember** — any given value of the duration greater than 180 will be overridden by 180!
0 commit comments