1. Go to this page and download the library: Download wohnparc/moeware-client 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/ */
wohnparc / moeware-client example snippets
$client = new Client("<endpoint>", "<api_key>", "<api_secret>");
$date = new DateTime("now - 1 day");
$result = $client->queryUpdatedArticleAndSetRefs($date);
if ($result->hasErrors()) {
// handle errors appropriately
}
$result->getArticleRefs();
$result->getSetRefs();
$client = new Client(
"<endpoint>",
"<api_key>",
"<api_secret>",
"<basic_auth_username>",
"<basic_auth_password>"
);
// Use the client as normal
$result = $client->queryIsMoeveAvailable();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.