v1v2 / php-client
JSON API to https://cov19vacsideeffects.online data
1.0.1
2021-04-19 11:02 UTC
Requires
- php: ^7.2.5
- ext-curl: *
- ext-json: *
- ext-openssl: *
- elao/enum: ^1.13
This package is not auto-updated.
Last update: 2025-04-02 05:04:58 UTC
README
JSON API to https://cov19vacsideeffects.online data
How to install
composer require v1v2/php-client
#Usage
<?php use V1V2\Client; use V1V2\Security; $client = new Client( new Security(), 'your_api_key' ); $result = $client->getTemperaturePiePlotsAllAge(); // gets all V1V2\PlotInterface plots from getTemperaturePiePlotsAllAge $result->toArray(); // gets specific plot. see V1V2\PlotEnum for all available plots $stage2Plot = $result->getByPlotType(\V1V2\PlotEnum::get(\V1V2\PlotEnum::PIE_TEMP_ALL_STAGE_2));