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

14 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
  8. wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated. coronavirus cleaning services

    ReplyDelete
  9. Android app to check containment zones in any city, your nearest zone and bed availability in Delhi hospitals.
    Checkout and review

    https://corona-track.live

    ReplyDelete
  10. This is also a very good post which I really enjoyed reading. It is not every day that I have the possibility to see something like this.. coronavirus cleaning services

    ReplyDelete
  11. I discovered your blog site site on the search engines and check several of your early posts. Always maintain up the very good operate. I recently additional increase Rss to my MSN News Reader. Looking for toward reading much more on your part later on!… coronavirus

    ReplyDelete
  12. Sir i am a Big Fan of you.. Sir i have learn PHP from your channel. Sir i have an Request could you plz make a Crud Function tutorials in Codeignitor ?

    ReplyDelete