You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ Please write new test cases for new code you create.
13
13
* If you're unable to find an open issue, [open a new one](https://github.com/ExpDev07/coronavirus-tracker-api/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible
14
14
* Open a new [GitHub Pull Request to coronavirus-tracker-api](https://github.com/ExpDev07/coronavirus-tracker-api/pulls) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)). Include the relevant issue number if applicable.
15
15
* We will love you forever if you include unit tests. We can always use more test coverage
16
+
* If you have updated [Pipefile](./Pipfile), you have to update `Pipfile.lock`, `requirements.txt` and `requirements-dev.txt`. See section [Update requirements files](./README.md#update-requirements-files).
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,15 +32,15 @@ Support multiple data-sources.
32
32
33
33
Currently 2 different data-sources are available to retrieve the data:
34
34
35
-
***jhu** - https://github.com/CSSEGISandData/COVID-19 - Worldwide Data repository operated by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE).
35
+
***jhu** - https://github.com/CSSEGISandData/COVID-19 - Worldwide Data repository operated by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE).
36
36
37
37
***csbs** - https://www.csbs.org/information-covid-19-coronavirus - U.S. County data that comes from the Conference of State Bank Supervisors.
38
38
39
39
__jhu__ data-source will be used as a default source if you don't specify a *source parameter* in your request.
40
40
41
41
## API Reference
42
42
43
-
All endpoints are located at ``coronavirus-tracker-api.herokuapp.com/v2/`` and are accessible via https. For instance: you can get data per location by using this URL:
43
+
All endpoints are located at ``coronavirus-tracker-api.herokuapp.com/v2/`` and are accessible via https. For instance: you can get data per location by using this URL:
You can open the URL in your browser to further inspect the response. Or you can make this curl call in your terminal to see the prettified response:
@@ -56,7 +56,7 @@ Consume our API through [our super awesome and interactive SwaggerUI](https://co
56
56
57
57
The [OpenAPI](https://swagger.io/docs/specification/about/) json definition can be downloaded at https://coronavirus-tracker-api.herokuapp.com/openapi.json
58
58
59
-
## API Endpoints
59
+
## API Endpoints
60
60
61
61
### Sources Endpoint
62
62
@@ -365,7 +365,7 @@ These are the available API wrappers created by the community. They are not nece
365
365
366
366
### C#
367
367
368
-
*[CovidSharp by @Abdirahiim](https://github.com/Abdirahiim/covidtrackerapiwrapper)
368
+
*[CovidSharp by @Abdirahiim](https://github.com/Abdirahiim/covidtrackerapiwrapper)
369
369
*[Covid19Tracker.NET by @egbakou](https://github.com/egbakou/Covid19Tracker.NET)
370
370
371
371
### Python
@@ -408,7 +408,7 @@ You will need the following things properly installed on your computer.
408
408
3. Create virtual environment and install all dependencies `$ pipenv sync --dev`
409
409
4. Activate/enter the virtual environment `$ pipenv shell`
410
410
411
-
And don't despair if don't get the python setup working on the first try. No one did. Guido got pretty close... once. But that's another story. Good luck.
411
+
And don't despair if don't get the python setup working on the first try. No one did. Guido got pretty close... once. But that's another story. Good luck.
412
412
413
413
## Running / Development
414
414
@@ -437,6 +437,14 @@ pipenv run lint
437
437
pipenv run fmt
438
438
```
439
439
440
+
### Update requirements files
441
+
442
+
```bash
443
+
invoke generate-reqs
444
+
```
445
+
446
+
[Pipfile.lock](./Pipfile.lock) will be automatically updated during `pipenv install`.
0 commit comments