PHP code example of marciodojr / german-verbs
1. Go to this page and download the library: Download marciodojr/german-verbs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
marciodojr / german-verbs example snippets
$client = new Client([
'base_uri' => 'https://api.verbix.com',
'timeout' => 5.0
]);
$this->verb = new Verb($client);
$result = $this->verb->getVerbsStartingWith('a');
// result contains
/*
array(3) {
[0] =>
array(2) {
'verb' =>
string(5) "aalen"
'langid' =>
int(13)
}
[1] =>
array(2) {
'verb' =>
string(5) "aasen"
'langid' =>
int(13)
}
[2] =>
array(2) {
'verb' =>
string(7) "abaasen"
'langid' =>
int(13)
}
}
*/