Git Product home page Git Product logo

pycowinapi's Introduction

Python wrapper for the COWIN API.

  • Please refer the official website - https://apisetu.gov.in/public/api/cowin/cowin-public-v2 for API rules, limitations, official documentation and schemas.
  • Sandbox api-key provided by the official website is used by default, refer official website to obtain your own api-key.
  • This library is under development and certain features may be unstable, stay updated with the latest version.

Classes

The official documentation of the api has been categorized into:

  • Co-WIN Public APIs
  • Co-WIN Protected APIs
  • Co-WIN Vaccinator APIs

USAGE

  • Requirements
pip install -r requirements.txt
  • Co-WIN Public APIs
from cowinApi import cowinPublicApi
obj = cowinPublicApi()
#FOR PRODUCTION URL AND API-KEY
from cowinApi import cowinPublicApi
obj = cowinPublicApi(production = True, api_key_production = "INSERT_API_KEY_HERE")
  • Co-WIN Protected APIs
#FOR SANDBOX URL AND API-KEY
from cowinApi import cowinProtectedApi
obj = cowinProtectedApi()
#FOR PRODUCTION URL AND API-KEY
from cowinApi import cowinProtectedApi
obj = cowinProtectedApi(production = True, api_key_production = "INSERT_API_KEY_HERE")
  • Co-WIN Vaccinator APIs
#FOR SANDBOX URL AND API-KEY
from cowinApi import cowinVaccinatorApi
obj = cowinVaccinatorApi()
#FOR PRODUCTION URL AND API-KEY
from cowinApi import cowinVaccinatorApi
obj = cowinVaccinatorApi(production = True, api_key_production = "INSERT_API_KEY_HERE")

ROADMAP

  • Fake User Agent implementation.
  • Rate limiting/monitoring.
  • Request timeouts.
  • Testing and stabalization of unstable functions.
  • ASYNCIO version.

DISCLAIMER

  • I am in no way affiliated with COWIN API.
  • Use this library at your own risk, I or any contributors to this library are not responsible for any damages caused.

pycowinapi's People

Contributors

nid27 avatar

Stargazers

 avatar  avatar

Watchers

 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.