Giter VIP home page Giter VIP logo

corona-vaccination-availablity-check's Introduction

corona-vaccination-availablity-check

Just a simple script to continuesly check availability for vaccination

Variables to set

  • YOUR_DISTRICT_ID - district id you can get it from meta apis
  • FROM_TODAY_DAYS_TO_CHECK - how many days you wish to check from today, if you want to check for upcomming week (7 days) this value should be 7, if you want to check for today only then it will be 1.
  • MESSAGE_AS_YOU_WANT - you can write your formated message here. already given an example, you can use any of the key from sample payload in the message format.
  • DISCORD_WEBHOOK_URL - this is to get notification in discord.

You can also update condition as you wish, you can use the same sample payload properties there as well.

Sample Item payload

{
  "center_id": 692858,
  "name": "MORBI ROAD COMMUNITY HALL - 2",
  "address": "NEAR JAKAT NAKA MORBI ROAD",
  "state_name": "Gujarat",
  "district_name": "Rajkot Corporation",
  "block_name": "East Zone",
  "pincode": 360003,
  "from": "09:00:00",
  "to": "13:00:00",
  "lat": 22,
  "long": 70,
  "fee_type": "Free",
  "session_id": "a6566d92-2a14-46f2-9cce-1c760cedb02a",
  "date": "22-05-2021",
  "available_capacity_dose1": 0,
  "available_capacity_dose2": 0,
  "available_capacity": 0,
  "fee": "0",
  "min_age_limit": 18,
  "vaccine": "COVISHIELD",
  "slots": [
    "09:00AM-10:00AM",
    "10:00AM-11:00AM",
    "11:00AM-12:00PM",
    "12:00PM-01:00PM"
  ]
}

corona-vaccination-availablity-check's People

Contributors

adiechahk avatar

Watchers

 avatar  avatar  avatar

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.