Corona Virus (covid-19) updater project in python | using api in tkinter
Corona Virus (covid-19) updater project in python | using api in tkinter
Note : Recplace (greater than) and (less than) with their sign/symbol ( Because Youtube donot allow angle brackets in description ) OR You can get this code on github by using github link
Code github Link : https://github.com/ubaidahmadceh/python_tkinter_GUI_projects/blob/main/Covid_Updater.py
code :
import requests
from tkinter import *
import tkinter.messagebox
import json
root=Tk()
def update():
r = requests.get('https://coronavirus-19-api.herokuapp.com/all')
data = r.json()
text = f'Confirmed Cases : {data["cases"]} \nDeaths : {data["deaths"]} \nRecovered : {data["recovered"]}'
x = 0
while x (less than) 1:
tkinter.messagebox.showinfo('Covid-19 updater', text)
x += 1
update()
root.mainloop()
covid project in python,covid 19 data analysis project using python,covid 19 data analysis python,python covid 19 project,covid 19 data analysis project,covid 19 data analytics project,covid project,covid-19 data analysis,covid 19 data analysis and visualization project,web scraping using python,covid 19 data analysis,coronavirsu web scraper,web scraper python,web scraping python,python project ideas,covid 19 dashboard,corona virus