Recommend this page to a friend! |
Classes of Max Base | PHP Corona Virus Database | README.md | Download |
|
DownloadPHP Corona Virus DatabaseAn API to lookup information about Corona VirusThis package provides an API to lookup information about Corona Virus. It can provides API entries to perform queries on a database with figures about the current status of the Corona Virus epidemic around the world. Currently it can:
Corona Virus DatabaseA repository for analyzing references and database of Corona VirusWebsite: https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6 Downloadable database: GitHub: Here. There is a But main site has not get data from that. By checking main website, I did check all requests and links: Finaly I found this: https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?f=json&where=Confirmed%20%3E%200&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=*&orderByFields=Confirmed%20desc&resultOffset=0&resultRecordCount=1000&cacheHint=true But you can see all requests as HAR format at here. Features
DescriptionThis project is a web service that allows you to create different accesses. And later use this web service in different applications and sites. e.g: You may even sell a subscription to this web service. All request of this web-service will need a token for Auth and access to methods. There is a table for tokens, called In So others can using this key to access to this web-service. You will need to execute Remember it's a API service, if are you looking for a script to display directly list of corona cases, you can check below repositories: https://github.com/BaseMax/api-webservice-COVID-19/ https://github.com/BaseMax/CoronaVirusOutbreakAPI/ UsingCreate a token in database: Development ModeIn additation of my message: If you want to use this API webservice, And want to easily see response of methods. You can use a plugins in your browser. such as: https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj?hl=en You had to add COVID19 APIAll request need Country ListGET: http://localhost/CoronaVirusDatabase/src/?method=list POST: http://localhost/CoronaVirusDatabase/ with
Country List with SortDESC sort:GET: http://localhost/CoronaVirusDatabase/src/?method=list&sort=totalCase&type=desc POST: http://localhost/CoronaVirusDatabase/ with or ASC sort:GET: http://localhost/CoronaVirusDatabase/src/?method=list&sort=totalCase&type=asc POST: http://localhost/CoronaVirusDatabase/ with Search in countryGET: http://localhost/CoronaVirusDatabase/src/?method=search&query=ir POST: http://localhost/CoronaVirusDatabase/ with
Search in country with sortGET: http://localhost/CoronaVirusDatabase/src/?method=search&query=ir&sort=totalCase&type=asc POST: http://localhost/CoronaVirusDatabase/ with Total numbers in all country and in the worldGET: http://localhost/CoronaVirusDatabase/src/?method=total POST: http://localhost/CoronaVirusDatabase/ with
Installing / Using from COVID19 API
> Note: corona.sql is database structure with empty table, you will use it to setup this project. But output.sql is a database output with current corona data. How keep data live and up to date?Run Using crontab to automaticly update resultsCrontab command: Current time is: 2020-02-26 7:29:00 PM UTC This cron job will be run at: (5 times displayed and more...)
COVID-19 CORONAVIRUS OUTBREAKCorona Virus Outbreak APIA tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP. Confirmed Cases and Deaths by Country, Territory, or ConveyanceThe novel coronavirus COVID-19 is affecting 45 countries and territories around the world and 1 international conveyance (the "Diamond Princess" cruise ship harbored in Yokohama, Japan). The bulk of China's new cases and deaths are reported after 22:00 GMT (5:00 PM ET) for Hubei (lately with delays of up to 2 hours), and after 00:00 GMT (7:00 PM ET) for the rest of China (lately with delays of up to 9 hours). Max BaseMy nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base) Asrez TeamA team includes some programmer, developer, designer, researcher(s) especially Max Base. |