Skip to content

Proof of Concept (PoC) to wrap impfterminservice.de in a PHP class, for example to notify yourself if vaccination appointments are available again.

License

Notifications You must be signed in to change notification settings

rzfuhrmann/PHPImpftermine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Please note: Sending requests to impfterminservice.de can cause outages and unavailability and should avoided if possible. Therefore, use that PoC very responsible and fairly to others. Thank you.

Proof of Concept (PoC) - so mostly incomplete and untested code - how a PHP wrapper for Impfterminservice could look like.

require_once 'impftermine.class.php';

// replace "my-unique-appname" with an unique name for your application
$impftermine = new Impftermine("my-unique-appname");

// get available vaccines
$res = $impftermine->getVaccines(); 

// get vaccination centers
$res = $impftermine->getVaccinationCenters(); 

// get vaccination center details
$res = $impftermine->getVaccinationCenter(PLZ); 

// get appointment availibility by vaccination center (= PLZ)
$res = $impftermine->getAvailbilityByVaccinationCenter(PLZ);

About

Proof of Concept (PoC) to wrap impfterminservice.de in a PHP class, for example to notify yourself if vaccination appointments are available again.

Topics

Resources

License

Stars

Watchers

Forks

Languages