covid-vaccine-spotter icon indicating copy to clipboard operation
covid-vaccine-spotter copied to clipboard

add check for walmart appointments

Open mylylyl opened this issue 3 years ago • 3 comments

had several walmart shown as available, checked their site but was not able to book with the following error

{"status":"2104","message":"Sorry, this slot is no longer available. Please try a different time."}

and the response is 400.

would be nice if you can add a fake booking to walmart slots to confirm its available.

booking should be the same "slot-id" that used with the https://www.walmart.com/pharmacy/v2/clinical-services/time-slots/<id> endpoint but POST to https://www.walmart.com/pharmacy/v2/clinical-services/soft-book-slot/<id> endpoint with the following struct:

{
"slotId":"", // the one from time-slots endpoint
"accessPointId":"",
"firstName":"",
"lastName":"",
"imzStoreNumber":{"USStoreId":<store_id>}
}

mylylyl avatar Apr 04 '21 18:04 mylylyl

Wouldn't this result in the scraper pseudo-booking multiple appointments?

jeffchenoweth avatar Apr 08 '21 01:04 jeffchenoweth

@jeffchenoweth no. you would be in the "Review Your Appointment" page.

mylylyl avatar Apr 08 '21 01:04 mylylyl

I think this is a bad idea. It could cause the server the temporarily book that appointment for the scraper until some session-based timeout.

GlenCoakley avatar Apr 13 '21 13:04 GlenCoakley