Comments (3)
@carefulcomputer Thanks! Glad you were able to find this.
I have a test deployment updating this endpoint: https://mtcavax.s3-us-west-1.amazonaws.com/data.json - for now, only running once a day so that I don't spam MyTurn (From your puppeteer project, I see that you already are cautious as well about running these things as well).
Feel free to read from that endpoint for now to adapt your project and let me know how I can help.
I also published this earlier: https://github.com/devin2712/our-turn/tree/master/california-myturn as the first iteration of my own personal project which seems similar to what you're doing already. It's more costly, as you're aware, due to the eligibility checks but it integrates with Airtable/Twilio for a full notification system.
Not sure how much you've dug into the MyTurn edge cases but I tried to document some of the nuances in the README. Feel free to open a PR if you find something else. The quick summary is that hasAvailabilities
will be true
in my JSON payload if and only if they show availabilities for both doses; otherwise, you'd send a notification and the person won't actually be able to book on MyTurn.
from myturn-monitor.
@devin2712 thanks for comments. BTW, recently I found that some of myturn servers will return 405 if number of headers is not exactly 3 !! Was almost tearing my hair out until i found that it was 'number' of headers. If you ever hit that issue, try sending 3 headers.
from myturn-monitor.
Couple of suggestions :
- appointments run out in few hours, so once a day check will be grossly out of date. I have found once an hour to be good balance.
- several myturn sites have started single dose J&J vaccine. (e.g Oakland Coliseum)
from myturn-monitor.
Related Issues (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 myturn-monitor.