how to create your own cowin availability notification and checker #linuxtopic
How to use REST API in LINUX - CoWIN API

how to create your own cowin availability notification and checker #linuxtopic

In this tutorial we will learn, how to use REST API in Linux box, for this topic we have Cowin API and we will set alerts using this cowin API once available.

Prerequisite :

1 - Linux Box - 

2 - Internet 

2 - Mail configuration 

3 - Cowin API

4 - Curl

Linux Box -  I'm using a CentOS 7 for this tutorial and it is hosted in my laptop and connected to Internet for API Calling and sending a email.

We can also use cloud box like AWS / Azure / Google cloud. who can run 24/7 for notification.

cat /etc/redhat-release

CentOS Linux release 7.6.1810 (Core)

Cowin API

https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/findByPin

In the above api we provide below input

  • pincode 
  • date
  • age

curl "https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/findByPin?pincode=455115&date=29-05-2021"

Read More....

Ashok Patidar

Cloud Architect and DevOps at Publicis Sapient

3 年

Tika le

回复

要查看或添加评论,请登录

Lokesh Carpenter的更多文章

社区洞察

其他会员也浏览了