This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
REST documentation #75
Labels
Comments
@sibalzer I am also interested on how the REST API and also the json structure/fields ("outOfStock / freeSlotSizeOnline / vaccineName / vaccineType" which the impfbot.py is checking) have been found out. E: Just inspecting the impfportal main page is enough, there's a GET request which we can use to evaluate. |
Unfortunately there is no public documentation. F12 is your friend. https://www.impfportal-niedersachsen.de/portal/rest/appointments/findVaccinationCenterListFree/{plz} There are 3 parameters: |
Looks like it's obsolete since there are no more priorities. getVacctionationcenterFree(e, t, i, n) {
let a = new C.f;
return a = a.append("stiko", t),
i && (a = a.append("count", i)),
n && (a = a.append("birthdate", n)),
this.ajaxService.ajaxGET("rest/appointments/findVaccinationCenterListFree/" + e, {}, {
params: a
})
}
indicationSTIKO() {
return !0
}
indicationSTIKONoAge_Obsolate() {
return this.calcAge() >= 70 && this.calcAge() <= 120 || this.customer.jobIndication || this.customer.medicalIndication || this.customer.vaccinationPermit || this.customer.carecenterIndication
}
getStikoCode(e) {
let t = "";
return e.ageIndication && (t += "A"),
e.jobIndication && (t += "J"),
e.medicalIndication && (t += "M"),
t
} |
🤷 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a public documentation of the Impfportal-API? I was not able to find it.
The text was updated successfully, but these errors were encountered: