Skip to content

Commit d953967

Browse files
author
ExpDev07
committed
readme
1 parent 55a476f commit d953967

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coronavirus-tracker (API)
22

3-
> This is a basic API for tracking development of the new coronavirus (2019-nCoV). It's written in python using 🍼 Flask.
3+
> This is a fast (< 200ms) and basic API for tracking development of the new coronavirus (2019-nCoV). It's written in python using 🍼 Flask.
44
55
## Live version
66
View the live version here: [https://coronavirus-tracker-api.herokuapp.com/latest](https://coronavirus-tracker-api.herokuapp.com/latest).

app/routes/all.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from flask import jsonify
2+
from app import app
3+
from app.data import get_data
4+
5+
@app.route('/deaths')
6+
def deaths():
7+
return jsonify(get_data('deaths'))

0 commit comments

Comments
 (0)