All Projects → BaseMax → CoronaVirusDatabase

BaseMax / CoronaVirusDatabase

Licence: GPL-3.0 license
A repository for analyzing references and database of "gisanddata.maps.arcgis.com" website for Corona Virus.

Programming Languages

PHP
23972 projects - #3 most used programming language
TSQL
950 projects

Projects that are alternatives of or similar to CoronaVirusDatabase

coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (+28.95%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-analysis, covid-19, covid19, coronavirus-api, covid-api, covid-data
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (+13.16%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-analysis, covid-19, covid-virus, covid19, covid-api, covid-data
COVID19
A web app to display the live graphical state-wise reported corona cases in India so far. It also shows the latest news for COVID-19. Stay Home, Stay Safe!
Stars: ✭ 122 (+221.05%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-analysis, covid-19, covid19, covid-api, covid-data
CoronaVirusOutbreakAPI
A tiny and small program to crawler and analyze outbreak of COVID-19 in world and every country using PHP.
Stars: ✭ 20 (-47.37%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid-19, covid-virus, covid19, covid-2019, coronavirus-api
coronainfobd
Real-time corona-virus tracker of Bangladesh 🇧🇩 which includes latest updates, data visualization, public awareness from WHO and some advice to aware people. 🥰❤
Stars: ✭ 46 (+21.05%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-analysis, covid-19, covid19
covid19-visualized
COVID-19 World update with data Visualization (Include Indonesia cases)
Stars: ✭ 23 (-39.47%)
Mutual labels:  coronavirus, coronavirus-tracking, covid-19, covid-virus, covid19, covid-2019
Corona Cli
🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). To chat: https://twitter.com/MrAhmadAwais/
Stars: ✭ 1,812 (+4668.42%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-analysis, covid-19
covid19-api
Covid19 Data API (JSON) - LIVE
Stars: ✭ 20 (-47.37%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, covid-19, covid-data
us-covid19
Data repository of State's Health Department stats for COVID19 in the United States
Stars: ✭ 37 (-2.63%)
Mutual labels:  covid-19, covid-virus, covid19, covid-2019, covid-api, covid-data
covid-19
An app made with Flutter to track COVID-19 case counts.
Stars: ✭ 47 (+23.68%)
Mutual labels:  coronavirus, coronavirus-tracking, covid-19, covid-virus, covid19, covid-api
ctt
Corona Tracker Tracker Dashboard for the German Corona-Tracing-app
Stars: ✭ 15 (-60.53%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, coronavirus-info, coronavirus-analysis, covid19
covidtrackerapiwrapper
CovidSharp is a crossplatform C# API wrapper for the Coronavirus tracking API (https://github.com/ExpDev07/coronavirus-tracker-api)
Stars: ✭ 11 (-71.05%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19, covid19
covidbr-api
COVIDBR API —— API de tracking dos casos de COVID-19 no Brasil
Stars: ✭ 28 (-26.32%)
Mutual labels:  coronavirus, coronavirus-tracking, covid-virus, covid-2019, coronavirus-api
covid19-kerala-api-deprecated
Deprecated - A fast API service for retrieving day to day stats about Coronavirus(COVID-19, SARS-CoV-2) outbreak in Kerala(India).
Stars: ✭ 14 (-63.16%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, covid19, covid-data
coronavirusrd
Web app to show information about the current cases of COVID 19 in Dominican Republic
Stars: ✭ 13 (-65.79%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-real-time, covid-19, covid19
align covid
Coronavirus time series aligned by number of cases, not date.
Stars: ✭ 22 (-42.11%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, coronavirus-analysis, covid19
covid-19
A web application to display Coronavirus Diseases (COVID19) statistics from different countries.
Stars: ✭ 28 (-26.32%)
Mutual labels:  coronavirus, coronavirus-real-time, covid-19, covid19, covid-data
covid19
This API provides updated real-time data on coronavirus cases from the worldometers page, provided by the most reputable organizations and statistical offices in the world.
Stars: ✭ 77 (+102.63%)
Mutual labels:  coronavirus, covid-19, covid-virus, coronavirus-api, covid-api
aarogya seva
A beautiful 😍 covid-19 app with self - assessment and more.
Stars: ✭ 118 (+210.53%)
Mutual labels:  coronavirus, coronavirus-tracking, coronavirus-info, covid-19, covid19
Coronavirus
Java API Wrapper for tracking coronavirus (COVID-19, SARS-CoV-2) via https://git.io/Jvoep
Stars: ✭ 16 (-57.89%)
Mutual labels:  coronavirus, coronavirus-real-time, covid-19, covid19, coronavirus-api

PHP Corona Virus Database

An API to lookup information about Corona Virus

This 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:

  • Return the number of reported cases
  • Return the number of reported deaths
  • Return the number of recovered people
  • Filter the results by country
  • Return results aggregating all countries

Corona Virus Database

A repository for analyzing references and database of gisanddata.maps.arcgis.com website for Corona Virus.

Corona Virus

Website: https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6

Downloadable database: GitHub: Here.

There is a csv files for every day. e.g: https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data

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

  • Free, Open Source, Easy and short code
  • Ability to create token for suers
  • Ability to search in country
  • Ability to sort (ASC or DESC) in country list
  • Ability to get total number (in world)
  • Ability to limit auth and token

Description

This 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 token. So you can create one token or more.

In READMD.me file, I explain how can use from web service.

So others can using this key to access to this web-service.

You will need to execute $ php _update.php update in src/ directory to insert and updates data into your database, then you can use from API methods. (You should pass token value in Headers)

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/

Using

Create a token in database:

screen2.jpg

Development Mode

In 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 Token header with a value.

screen1.jpg

COVID19 API

All request need token value in header, You can create token in token table.

Country List

GET: http://localhost/CoronaVirusDatabase/src/?method=list

POST: http://localhost/CoronaVirusDatabase/ with method=list data

{
	status: "success",
	message: "",
	lastUpdate: "2020-02-27 18:05:06",
	result: [
		{
		id: 1,
		name: "china",
		totalCase: 78514,
		newCase: 450,
		totalDeath: 2747,
		newDeath: 32,
		totalRecovered: 32954,
		seriousUser: 8346,
		datetime: "2020-02-27 18:05:03"
		},
		...
	]
}

Country List with Sort

DESC sort:

GET: http://localhost/CoronaVirusDatabase/src/?method=list&sort=totalCase&type=desc

POST: http://localhost/CoronaVirusDatabase/ with method=list&sort=totalCase&type=desc data

or ASC sort:

GET: http://localhost/CoronaVirusDatabase/src/?method=list&sort=totalCase&type=asc

POST: http://localhost/CoronaVirusDatabase/ with method=list&sort=totalCase&type=asc data

Search in country

GET: http://localhost/CoronaVirusDatabase/src/?method=search&query=ir

POST: http://localhost/CoronaVirusDatabase/ with method=search&query=ir

{
	status: "success",
	message: "",
	result: [
		{
			id: 5,
			name: "iran",
			totalCase: 245,
			newCase: 106,
			totalDeath: 26,
			newDeath: 7,
			totalRecovered: 25,
			seriousUser: 0,
			datetime: "2020-02-27 16:05:56"
		},
		{
			id: 24,
			name: "iraq",
			totalCase: 6,
			newCase: 1,
			totalDeath: 0,
			newDeath: 0,
			totalRecovered: 0,
			seriousUser: 0,
			datetime: "2020-02-27 16:05:59"
		}
	]
}

Search in country with sort

GET: http://localhost/CoronaVirusDatabase/src/?method=search&query=ir&sort=totalCase&type=asc

POST: http://localhost/CoronaVirusDatabase/ with method=search&query=ir&sort=totalCase&type=asc data

Total numbers in all country and in the world

GET: http://localhost/CoronaVirusDatabase/src/?method=total

POST: http://localhost/CoronaVirusDatabase/ with method=total

{
	status: "success",
	message: "",
	result: {
		all: "163492",
		died: "5588"
	}
}

Installing / Using from COVID19 API

  • Download source files
  • Upload sources files in a webserver (e.g: /var/www/html or /usr/share/nginx/html or ...)
  • Create a database for this project
  • Put username, password and database name in _core.php file and config this project by modify _core.php file
  • Import corona.sql file into your database (using phpmyadmin or mariadb, mysql cli or other tools)

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 $ php _update.php update every time you want to update your database rows. It will automaticly update and change data, if they are new or changed!

Using crontab to automaticly update results

Crontab command: * */2 * * * php _update.php >/dev/null 2>&1

Current time is: 2020-02-26 7:29:00 PM UTC

This cron job will be run at: (5 times displayed and more...)

  • 2020-02-26 20:00:00 UTC
  • 2020-02-26 20:01:00 UTC
  • 2020-02-26 20:02:00 UTC
  • 2020-02-26 20:03:00 UTC
  • 2020-02-26 20:04:00 UTC
  • ...

COVID-19 CORONAVIRUS OUTBREAK

Corona Virus Outbreak API

A 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 Conveyance

The 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 Base

My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)

Asrez Team

A team includes some programmer, developer, designer, researcher(s) especially Max Base.

Asrez Team

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].