Skip to main content

API wrapper for Cowin Api

Project description

Cowin Vaccine Tracker

Python API wrapper for CoWin, for the vaccination drive by booking an appointment at the nearby vaccination centres This wrapper supports Find vaccine availability by Pincode, District and booking of apointments is on the way. This wrapper is meant to enable folks to build their own versions of a system to lookup for vaccine availablity either in a district or in a particular pin code.

Installation

pip install cowin-vaccine-api

Usage

from cowin_api import CoWinAPI pin_code = "400080"

cowin = CoWinAPI() available_centers = cowin.get_availability_by_pincode(pin_code) print(available_centers)

License

© 2020 Udit Vashisht

This repository is licensed under the MIT license. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cowin-vaccine-api-0.0.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

cowin_vaccine_api-0.0.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page