THAPA TECHNICAL

HOUSE OF WEB DEVELOPERS AND TECHNOLOGY.

Coronavirus Live Cases in India State Wise Update using API

Coronavirus Live Cases in India State Wise Update using API




Welcome, Create a Website to Count Coronavirus Live Cases in India State Wise Update using API in Hindi. In this video, you will learn how to work with API and also the INDIA States Wise Live COVID-19 Cases to display as a web page using API in Hindi.

Below is the LINKS just copy and paste to the respective Browser
➡️Here is the API Link to get the India State wise JSON format data: https://www.covid19india.org/

copy the code and Plz Subscribe for daily such awesome video :)

<?php $data = file_get_contents('https://api.covid19india.org/data.json'); $coranalive = json_decode($data, true); $statescount = count($coranalive['statewise']);

 <!--  If you like my videos then plz subscribe and leave a comment on the video about your experience ok -->
$i=1; while($i < $statescount){

  echo $coranalive['statewise'][$i]['lastupdatedtime'] . "<br>"  ;
  echo $coranalive['statewise'][$i]['state'] . "<br>"  ;
  echo $coranalive['statewise'][$i]['confirmed'] . "<br>"  ;
  echo $coranalive['statewise'][$i]['active'] . "<br>"  ;
  echo $coranalive['statewise'][$i]['recovered'] . "<br>"  ;
  echo $coranalive['statewise'][$i]['deaths'] . "<br>"  ;

  $i++;
}


?>

********************************************

➡️JSON in One Video in Hindi: https://youtu.be/bMqevPKAPD4 ➡️***Build a COVID-19 World Countries Live Tracker App using an API: https://youtu.be/jNiaboOBJJM ➡️***Responsive Website against CORONA VIRUS using Bootstrap 4: https://youtu.be/TefnsQg0RIU

9 comments:

  1. How to extract data from an html file using javascript. & Show in my own page.??

    ReplyDelete
  2. Sir provide me source code of coronavirus websites

    ReplyDelete
  3. Hi I need usa covid19 live data api.
    like india, if you have couldyou please provide me.

    thanks

    ReplyDelete
  4. Dear thapa,
    I'm unable to complete this as per your direction...
    Please into this matter.
    ("Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in C:\wamp\www\krona\index.php on line 16")

    ReplyDelete
  5. Abp news covid 19 tracker like iframe coding

    ReplyDelete
  6. Thanks for sharing the best information and suggestions, I love your content, and they are very nice and very useful to us. If you are looking for the best Google Image Api, then visit SERP House. I appreciate the work you have put into this.

    ReplyDelete
  7. I read that Post and got it fine and informative. Please share more like that... ÊÓƵ½»ÓÑ£º

    ReplyDelete