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: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ __Sample response__
129
129
"id": 39,
130
130
"country": "Norway",
131
131
"country_code": "NO",
132
-
"continent_codes_list": ["EUR"],
132
+
"continent_codes_set": {"EUR"},
133
133
"country_population": 5009150,
134
134
"province": "",
135
135
"county": "",
@@ -176,7 +176,7 @@ __Sample response__
176
176
"id": 0,
177
177
"country": "Thailand",
178
178
"country_code": "TH",
179
-
"continent_codes_list": ["ASI"],
179
+
"continent_codes_set": {"ASI"},
180
180
"country_population": 67089500,
181
181
"province": "",
182
182
"county": "",
@@ -194,7 +194,7 @@ __Sample response__
194
194
{
195
195
"id": 39,
196
196
"country": "Norway",
197
-
"continent_codes_list": ["EUR"],
197
+
"continent_codes_set": {"EUR"},
198
198
"country_code": "NO",
199
199
"province": "",
200
200
"county": "",
@@ -227,8 +227,9 @@ __Response definitions__
227
227
| {locations}/{location}/{latest}/deaths | The up-to-date number of deaths related to the specific location | Integer |
228
228
| {locations}/{location}/{latest}/recovered | The up-to-date number of recovered related to the specific location | Integer |
229
229
| {locations}/{location}/id | The location id. This unique id is assigned to the location by the data-source. | Integer |
230
-
| {locations}/{location}/country | The Country name | String |
231
-
| {locations}/{location}/country_code | The [ISO alpha-2 country_code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Country code for the location. | String |
230
+
| {locations}/{location}/country | The country name | String |
231
+
| {locations}/{location}/country_code | The [ISO alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country. | String |
232
+
| {locations}/{location}/continent_codes_set | The List, in fact a set of alpha-3 continent codes of the country location. | List |
232
233
| {locations}/{location}/province | The province where the location belongs to. (Used for US locations coming from __csbs data-source__.<br>__Empty__ when *jhu data-source* is used | String |
233
234
| {locations}/{location}/{coordinates}/latitude | The location latitude | Float |
234
235
| {locations}/{location}/{coordinates}/longitude | The location longitude | Float |
0 commit comments