Comments (4)
@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.
Thanks :)
E: Just inspecting the impfportal main page is enough, there's a GET request which we can use to evaluate.
from impfbot.
Unfortunately there is no public documentation. F12 is your friend.
https://www.impfportal-niedersachsen.de/portal/rest/appointments/findVaccinationCenterListFree/{plz}
There are 3 parameters:
stkio: no idea for what is alway empty
count: used for groupsize; default 1
birthdate: unix timestamp in ms
from impfbot.
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
}
from impfbot.
🤷
from impfbot.
Related Issues (20)
- Gather mail setup examples for popular mail providers
- Disclaimer to use waiting list in addition to the bot
- Why does the user_agent setting not allow spaces? HOT 2
- Automatisierte Impfterminbuchung HOT 13
- Add exception management HOT 1
- Printing of settings with a list value misses a delimiter HOT 3
- Vector vaccine for under 60s HOT 1
- Docker image for Raspberry Pi (arm64) missing HOT 3
- Sending email from Web.de failed HOT 1
- docker composes creates config.ini as folder HOT 1
- Error 'Could not send Email' during validation [gmail.com] HOT 3
- Release v3.0.0 HOT 2
- Config properties in the example do not match requirements in Docker-Compose HOT 3
- Running on server causes crash at import of configurator gui HOT 4
- Validation code fails with --alert argument only
- Telegram group IDs stopped working in 3.0 or logging problem HOT 1
- lower() for checks against YES/NO lists HOT 1
- add admin mail notifications HOT 1
- add custom prefix for alert messages HOT 1
- Android App HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from impfbot.