We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Kiyoh team,
i have my company id and basic information. Is there any way to access json response of my review ?
The text was updated successfully, but these errors were encountered:
Hi there, you can use the following example code:
<?php require_once('vendor/autoload.php'); $connector = 'YOUR_CONNECTOR_CODE'; // Change with your Connector code $company = 1234; // Change with your Company number $kiyoh = new \JKetelaar\Kiyoh\Kiyoh($connector, $company); /** @var \JKetelaar\Kiyoh\Models\Review[] $reviews */ $reviews = $kiyoh->getReviews(); var_dump($reviews[0]->getId()); // .. /** @var \JKetelaar\Kiyoh\Models\Company $company */ $company = $kiyoh->getCompany(); var_dump($company->getTotalScore()); var_dump($company->getUrl()); var_dump($company->getCategory()); var_dump($company->getCategory()->getTitle()); var_dump($company->getAverageScores()->getQuestions());
Sorry, something went wrong.
No branches or pull requests
Hello Kiyoh team,
i have my company id and basic information. Is there any way to access json response of my review ?
The text was updated successfully, but these errors were encountered: