Giter Club home page Giter Club logo

Comments (4)

duracotton avatar duracotton commented on July 18, 2024

@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.

sibalzer avatar sibalzer commented on July 18, 2024

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.

Aletho avatar Aletho commented on July 18, 2024

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.

sibalzer avatar sibalzer commented on July 18, 2024

🤷

from impfbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.