Skip to content

Commit 7574abe

Browse files
committed
Minor fixes
1 parent 98ae697 commit 7574abe

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,17 @@ Getting latest amount of total confirmed cases, deaths, and recoveries per locat
6868
```http
6969
GET /v2/locations/{locationId}
7070
```
71+
7172
__Path Parameters__
7273
| Path parameter | Required/Optional | Description | Type |
7374
| -------------- | ----------------- | ------------------------------------------------------------------ | ------- |
7475
| locationId | OPTIONAL | The location id for which you want to call the locations Endpoint. | Integer |
7576

77+
7678
```http
77-
GET /v2/locations/:id
79+
GET /v2/locations/39
7880
```
81+
__Sample response__
7982
```json
8083
{
8184
"location": {
@@ -101,6 +104,10 @@ GET /v2/locations/:id
101104
}
102105
```
103106

107+
```http
108+
GET /v2/locations
109+
```
110+
104111
__Sample response__
105112
```json
106113
{
@@ -145,6 +152,8 @@ __Sample response__
145152
]
146153
}
147154
```
155+
156+
__Query String Parameters__
148157
| Query string parameter | Description | Type |
149158
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
150159
| source | The data-source where data will be retrieved from. __Value__ can be: __jhu/csbs__. |
@@ -174,7 +183,6 @@ __Response definitions__
174183
| {locations}/{location}/{coordinates}/longitude | The location longitude | Float |
175184

176185

177-
178186
```http
179187
GET /v2/locations?country_code=US
180188
```

0 commit comments

Comments
 (0)