Skip to content

realmxsandr/v1v2php-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

v1v2/php-client

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)); 

About

JSON API to https://cov19vacsideeffects.online data

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages