mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Prettify json (tests) (#68888)
This commit is contained in:
parent
bbcefd6fec
commit
496d90bf00
200
tests/fixtures/alpr_cloud.json
vendored
200
tests/fixtures/alpr_cloud.json
vendored
@ -1,103 +1,101 @@
|
|||||||
{
|
{
|
||||||
"plate":{
|
"plate": {
|
||||||
"data_type":"alpr_results",
|
"data_type": "alpr_results",
|
||||||
"epoch_time":1483953071942,
|
"epoch_time": 1483953071942,
|
||||||
"img_height":640,
|
"img_height": 640,
|
||||||
"img_width":480,
|
"img_width": 480,
|
||||||
"results":[
|
"results": [
|
||||||
{
|
{
|
||||||
"plate":"H786P0J",
|
"plate": "H786P0J",
|
||||||
"confidence":90.436699,
|
"confidence": 90.436699,
|
||||||
"region_confidence":0,
|
"region_confidence": 0,
|
||||||
"region":"",
|
"region": "",
|
||||||
"plate_index":0,
|
"plate_index": 0,
|
||||||
"processing_time_ms":16.495636,
|
"processing_time_ms": 16.495636,
|
||||||
"candidates":[
|
"candidates": [
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H786P0J",
|
"plate": "H786P0J",
|
||||||
"confidence":90.436699
|
"confidence": 90.436699
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H786POJ",
|
"plate": "H786POJ",
|
||||||
"confidence":88.046814
|
"confidence": 88.046814
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H786PDJ",
|
"plate": "H786PDJ",
|
||||||
"confidence":85.58432
|
"confidence": 85.58432
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H786PQJ",
|
"plate": "H786PQJ",
|
||||||
"confidence":85.472939
|
"confidence": 85.472939
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"HS786P0J",
|
"plate": "HS786P0J",
|
||||||
"confidence":75.455666
|
"confidence": 75.455666
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H2786P0J",
|
"plate": "H2786P0J",
|
||||||
"confidence":75.256081
|
"confidence": 75.256081
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H3786P0J",
|
"plate": "H3786P0J",
|
||||||
"confidence":65.228058
|
"confidence": 65.228058
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H786PGJ",
|
"plate": "H786PGJ",
|
||||||
"confidence":63.303329
|
"confidence": 63.303329
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"HS786POJ",
|
"plate": "HS786POJ",
|
||||||
"confidence":83.065773
|
"confidence": 83.065773
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"plate":"H2786POJ",
|
"plate": "H2786POJ",
|
||||||
"confidence":52.866196
|
"confidence": 52.866196
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"coordinates":[
|
"coordinates": [
|
||||||
{
|
{
|
||||||
"y":384,
|
"y": 384,
|
||||||
"x":156
|
"x": 156
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"y":384,
|
"y": 384,
|
||||||
"x":289
|
"x": 289
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"y":409,
|
"y": 409,
|
||||||
"x":289
|
"x": 289
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"y":409,
|
"y": 409,
|
||||||
"x":156
|
"x": 156
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"matches_template":0,
|
"matches_template": 0,
|
||||||
"requested_topn":10
|
"requested_topn": 10
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version":2,
|
"version": 2,
|
||||||
"processing_time_ms":115.687286,
|
"processing_time_ms": 115.687286,
|
||||||
"regions_of_interest":[
|
"regions_of_interest": []
|
||||||
|
},
|
||||||
]
|
"image_bytes": "",
|
||||||
},
|
"img_width": 480,
|
||||||
"image_bytes":"",
|
"credits_monthly_used": 5791,
|
||||||
"img_width":480,
|
"img_height": 640,
|
||||||
"credits_monthly_used":5791,
|
"total_processing_time": 120.71599999762839,
|
||||||
"img_height":640,
|
"credits_monthly_total": 10000000000,
|
||||||
"total_processing_time":120.71599999762839,
|
"image_bytes_prefix": "data:image/jpeg;base64,",
|
||||||
"credits_monthly_total":10000000000,
|
"credit_cost": 1
|
||||||
"image_bytes_prefix":"data:image/jpeg;base64,",
|
|
||||||
"credit_cost":1
|
|
||||||
}
|
}
|
||||||
|
68
tests/fixtures/coinmarketcap.json
vendored
68
tests/fixtures/coinmarketcap.json
vendored
@ -1,36 +1,36 @@
|
|||||||
{
|
{
|
||||||
"cached": false,
|
"cached": false,
|
||||||
"data": {
|
"data": {
|
||||||
"id": 1027,
|
"id": 1027,
|
||||||
"name": "Ethereum",
|
"name": "Ethereum",
|
||||||
"symbol": "ETH",
|
"symbol": "ETH",
|
||||||
"website_slug": "ethereum",
|
"website_slug": "ethereum",
|
||||||
"rank": 2,
|
"rank": 2,
|
||||||
"circulating_supply": 99619842.0,
|
"circulating_supply": 99619842.0,
|
||||||
"total_supply": 99619842.0,
|
"total_supply": 99619842.0,
|
||||||
"max_supply": null,
|
"max_supply": null,
|
||||||
"quotes": {
|
"quotes": {
|
||||||
"USD": {
|
"USD": {
|
||||||
"price": 577.019,
|
"price": 577.019,
|
||||||
"volume_24h": 2839960000.0,
|
"volume_24h": 2839960000.0,
|
||||||
"market_cap": 57482541899.0,
|
"market_cap": 57482541899.0,
|
||||||
"percent_change_1h": -2.28,
|
"percent_change_1h": -2.28,
|
||||||
"percent_change_24h": -14.88,
|
"percent_change_24h": -14.88,
|
||||||
"percent_change_7d": -17.51
|
"percent_change_7d": -17.51
|
||||||
},
|
},
|
||||||
"EUR": {
|
"EUR": {
|
||||||
"price": 493.454724572,
|
"price": 493.454724572,
|
||||||
"volume_24h": 2428699712.48,
|
"volume_24h": 2428699712.48,
|
||||||
"market_cap": 49158380042.0,
|
"market_cap": 49158380042.0,
|
||||||
"percent_change_1h": -2.28,
|
"percent_change_1h": -2.28,
|
||||||
"percent_change_24h": -14.88,
|
"percent_change_24h": -14.88,
|
||||||
"percent_change_7d": -17.51
|
"percent_change_7d": -17.51
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"last_updated": 1527098658
|
|
||||||
},
|
},
|
||||||
"metadata": {
|
"last_updated": 1527098658
|
||||||
"timestamp": 1527098716,
|
},
|
||||||
"error": null
|
"metadata": {
|
||||||
}
|
"timestamp": 1527098716,
|
||||||
}
|
"error": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
2940
tests/fixtures/darksky.json
vendored
2940
tests/fixtures/darksky.json
vendored
File diff suppressed because it is too large
Load Diff
16651
tests/fixtures/homematicip_cloud.json
vendored
16651
tests/fixtures/homematicip_cloud.json
vendored
File diff suppressed because it is too large
Load Diff
3472
tests/fixtures/metoffice.json
vendored
3472
tests/fixtures/metoffice.json
vendored
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"personId":"25985303-c537-4467-b41d-bdb45cd95ca1"
|
"personId": "25985303-c537-4467-b41d-bdb45cd95ca1"
|
||||||
}
|
}
|
||||||
|
48
tests/fixtures/microsoft_face_detect.json
vendored
48
tests/fixtures/microsoft_face_detect.json
vendored
@ -1,27 +1,27 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"faceId": "c5c24a82-6845-4031-9d5d-978df9175426",
|
"faceId": "c5c24a82-6845-4031-9d5d-978df9175426",
|
||||||
"faceRectangle": {
|
"faceRectangle": {
|
||||||
"width": 78,
|
"width": 78,
|
||||||
"height": 78,
|
"height": 78,
|
||||||
"left": 394,
|
"left": 394,
|
||||||
"top": 54
|
"top": 54
|
||||||
},
|
},
|
||||||
"faceAttributes": {
|
"faceAttributes": {
|
||||||
"age": 71.0,
|
"age": 71.0,
|
||||||
"gender": "male",
|
"gender": "male",
|
||||||
"smile": 0.88,
|
"smile": 0.88,
|
||||||
"facialHair": {
|
"facialHair": {
|
||||||
"mustache": 0.8,
|
"mustache": 0.8,
|
||||||
"beard": 0.1,
|
"beard": 0.1,
|
||||||
"sideburns": 0.02
|
"sideburns": 0.02
|
||||||
},
|
},
|
||||||
"glasses": "sunglasses",
|
"glasses": "sunglasses",
|
||||||
"headPose": {
|
"headPose": {
|
||||||
"roll": 2.1,
|
"roll": 2.1,
|
||||||
"yaw": 3,
|
"yaw": 3,
|
||||||
"pitch": 0
|
"pitch": 0
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
36
tests/fixtures/microsoft_face_identify.json
vendored
36
tests/fixtures/microsoft_face_identify.json
vendored
@ -1,20 +1,20 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"faceId":"c5c24a82-6845-4031-9d5d-978df9175426",
|
"faceId": "c5c24a82-6845-4031-9d5d-978df9175426",
|
||||||
"candidates":[
|
"candidates": [
|
||||||
{
|
{
|
||||||
"personId":"2ae4935b-9659-44c3-977f-61fac20d0538",
|
"personId": "2ae4935b-9659-44c3-977f-61fac20d0538",
|
||||||
"confidence":0.92
|
"confidence": 0.92
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"faceId":"c5c24a82-6825-4031-9d5d-978df0175426",
|
"faceId": "c5c24a82-6825-4031-9d5d-978df0175426",
|
||||||
"candidates":[
|
"candidates": [
|
||||||
{
|
{
|
||||||
"personId":"25985303-c537-4467-b41d-bdb45cd95ca1",
|
"personId": "25985303-c537-4467-b41d-bdb45cd95ca1",
|
||||||
"confidence":0.32
|
"confidence": 0.32
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
20
tests/fixtures/microsoft_face_persongroups.json
vendored
20
tests/fixtures/microsoft_face_persongroups.json
vendored
@ -1,12 +1,12 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"personGroupId":"test_group1",
|
"personGroupId": "test_group1",
|
||||||
"name":"test group1",
|
"name": "test group1",
|
||||||
"userData":"test"
|
"userData": "test"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"personGroupId":"test_group2",
|
"personGroupId": "test_group2",
|
||||||
"name":"test group2",
|
"name": "test group2",
|
||||||
"userData":"test"
|
"userData": "test"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
38
tests/fixtures/microsoft_face_persons.json
vendored
38
tests/fixtures/microsoft_face_persons.json
vendored
@ -1,21 +1,21 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"personId":"25985303-c537-4467-b41d-bdb45cd95ca1",
|
"personId": "25985303-c537-4467-b41d-bdb45cd95ca1",
|
||||||
"name":"Ryan",
|
"name": "Ryan",
|
||||||
"userData":"User-provided data attached to the person",
|
"userData": "User-provided data attached to the person",
|
||||||
"persistedFaceIds":[
|
"persistedFaceIds": [
|
||||||
"015839fb-fbd9-4f79-ace9-7675fc2f1dd9",
|
"015839fb-fbd9-4f79-ace9-7675fc2f1dd9",
|
||||||
"fce92aed-d578-4d2e-8114-068f8af4492e",
|
"fce92aed-d578-4d2e-8114-068f8af4492e",
|
||||||
"b64d5e15-8257-4af2-b20a-5a750f8940e7"
|
"b64d5e15-8257-4af2-b20a-5a750f8940e7"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"personId":"2ae4935b-9659-44c3-977f-61fac20d0538",
|
"personId": "2ae4935b-9659-44c3-977f-61fac20d0538",
|
||||||
"name":"David",
|
"name": "David",
|
||||||
"userData":"User-provided data attached to the person",
|
"userData": "User-provided data attached to the person",
|
||||||
"persistedFaceIds":[
|
"persistedFaceIds": [
|
||||||
"30ea1073-cc9e-4652-b1e3-d08fb7b95315",
|
"30ea1073-cc9e-4652-b1e3-d08fb7b95315",
|
||||||
"fbd2a038-dbff-452c-8e79-2ee81b1aa84e"
|
"fbd2a038-dbff-452c-8e79-2ee81b1aa84e"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
1116
tests/fixtures/openhardwaremonitor.json
vendored
1116
tests/fixtures/openhardwaremonitor.json
vendored
File diff suppressed because it is too large
Load Diff
2813
tests/fixtures/smhi.json
vendored
2813
tests/fixtures/smhi.json
vendored
File diff suppressed because it is too large
Load Diff
218
tests/fixtures/uk_transport_bus.json
vendored
218
tests/fixtures/uk_transport_bus.json
vendored
@ -1,110 +1,112 @@
|
|||||||
{
|
{
|
||||||
"atcocode": "340000368SHE",
|
"atcocode": "340000368SHE",
|
||||||
"bearing": "",
|
"bearing": "",
|
||||||
"departures": {
|
"departures": {
|
||||||
"32A": [{
|
"32A": [
|
||||||
"aimed_departure_time": "10:18",
|
{
|
||||||
"best_departure_estimate": "10:18",
|
"aimed_departure_time": "10:18",
|
||||||
"date": "2017-05-09",
|
"best_departure_estimate": "10:18",
|
||||||
"dir": "outbound",
|
"date": "2017-05-09",
|
||||||
"direction": "Market Place (Wantage)",
|
"dir": "outbound",
|
||||||
"expected_departure_date": null,
|
"direction": "Market Place (Wantage)",
|
||||||
"expected_departure_time": null,
|
"expected_departure_date": null,
|
||||||
"id": "https://transportapi.com/v3/uk/bus/route/THTR/32A/outbound/340000368SHE/2017-05-09/10:18/timetable.json?app_id=e99&app_key=058",
|
"expected_departure_time": null,
|
||||||
"line": "32A",
|
"id": "https://transportapi.com/v3/uk/bus/route/THTR/32A/outbound/340000368SHE/2017-05-09/10:18/timetable.json?app_id=e99&app_key=058",
|
||||||
"line_name": "32A",
|
"line": "32A",
|
||||||
"mode": "bus",
|
"line_name": "32A",
|
||||||
"operator": "THTR",
|
"mode": "bus",
|
||||||
"operator_name": "Thames Travel",
|
"operator": "THTR",
|
||||||
"source": "Traveline timetable (not a nextbuses live region)"
|
"operator_name": "Thames Travel",
|
||||||
},
|
"source": "Traveline timetable (not a nextbuses live region)"
|
||||||
{
|
},
|
||||||
"aimed_departure_time": "11:00",
|
{
|
||||||
"best_departure_estimate": "11:00",
|
"aimed_departure_time": "11:00",
|
||||||
"date": "2017-05-09",
|
"best_departure_estimate": "11:00",
|
||||||
"dir": "outbound",
|
"date": "2017-05-09",
|
||||||
"direction": "Stratton Way (Abingdon Town Centre)",
|
"dir": "outbound",
|
||||||
"expected_departure_date": null,
|
"direction": "Stratton Way (Abingdon Town Centre)",
|
||||||
"expected_departure_time": null,
|
"expected_departure_date": null,
|
||||||
"id": "https://transportapi.com/v3/uk/bus/route/THTR/32A/outbound/340000368SHE/2017-05-09/11:00/timetable.json?app_id=e99&app_key=058",
|
"expected_departure_time": null,
|
||||||
"line": "32A",
|
"id": "https://transportapi.com/v3/uk/bus/route/THTR/32A/outbound/340000368SHE/2017-05-09/11:00/timetable.json?app_id=e99&app_key=058",
|
||||||
"line_name": "32A",
|
"line": "32A",
|
||||||
"mode": "bus",
|
"line_name": "32A",
|
||||||
"operator": "THTR",
|
"mode": "bus",
|
||||||
"operator_name": "Thames Travel",
|
"operator": "THTR",
|
||||||
"source": "Traveline timetable (not a nextbuses live region)"
|
"operator_name": "Thames Travel",
|
||||||
},
|
"source": "Traveline timetable (not a nextbuses live region)"
|
||||||
{
|
},
|
||||||
"aimed_departure_time": "11:18",
|
{
|
||||||
"best_departure_estimate": "11:18",
|
"aimed_departure_time": "11:18",
|
||||||
"date": "2017-05-09",
|
"best_departure_estimate": "11:18",
|
||||||
"dir": "outbound",
|
"date": "2017-05-09",
|
||||||
"direction": "Market Place (Wantage)",
|
"dir": "outbound",
|
||||||
"expected_departure_date": null,
|
"direction": "Market Place (Wantage)",
|
||||||
"expected_departure_time": null,
|
"expected_departure_date": null,
|
||||||
"id": "https://transportapi.com/v3/uk/bus/route/THTR/32A/outbound/340000368SHE/2017-05-09/11:18/timetable.json?app_id=e99&app_key=058",
|
"expected_departure_time": null,
|
||||||
"line": "32A",
|
"id": "https://transportapi.com/v3/uk/bus/route/THTR/32A/outbound/340000368SHE/2017-05-09/11:18/timetable.json?app_id=e99&app_key=058",
|
||||||
"line_name": "32A",
|
"line": "32A",
|
||||||
"mode": "bus",
|
"line_name": "32A",
|
||||||
"operator": "THTR",
|
"mode": "bus",
|
||||||
"operator_name": "Thames Travel",
|
"operator": "THTR",
|
||||||
"source": "Traveline timetable (not a nextbuses live region)"
|
"operator_name": "Thames Travel",
|
||||||
}
|
"source": "Traveline timetable (not a nextbuses live region)"
|
||||||
],
|
}
|
||||||
"X32": [{
|
],
|
||||||
"aimed_departure_time": "10:09",
|
"X32": [
|
||||||
"best_departure_estimate": "10:09",
|
{
|
||||||
"date": "2017-05-09",
|
"aimed_departure_time": "10:09",
|
||||||
"dir": "inbound",
|
"best_departure_estimate": "10:09",
|
||||||
"direction": "Parkway Station (Didcot)",
|
"date": "2017-05-09",
|
||||||
"expected_departure_date": null,
|
"dir": "inbound",
|
||||||
"expected_departure_time": null,
|
"direction": "Parkway Station (Didcot)",
|
||||||
"id": "https://transportapi.com/v3/uk/bus/route/THTR/X32/inbound/340000368SHE/2017-05-09/10:09/timetable.json?app_id=e99&app_key=058",
|
"expected_departure_date": null,
|
||||||
"line": "X32",
|
"expected_departure_time": null,
|
||||||
"line_name": "X32",
|
"id": "https://transportapi.com/v3/uk/bus/route/THTR/X32/inbound/340000368SHE/2017-05-09/10:09/timetable.json?app_id=e99&app_key=058",
|
||||||
"mode": "bus",
|
"line": "X32",
|
||||||
"operator": "THTR",
|
"line_name": "X32",
|
||||||
"operator_name": "Thames Travel",
|
"mode": "bus",
|
||||||
"source": "Traveline timetable (not a nextbuses live region)"
|
"operator": "THTR",
|
||||||
},
|
"operator_name": "Thames Travel",
|
||||||
{
|
"source": "Traveline timetable (not a nextbuses live region)"
|
||||||
"aimed_departure_time": "10:30",
|
},
|
||||||
"best_departure_estimate": "10:30",
|
{
|
||||||
"date": "2017-05-09",
|
"aimed_departure_time": "10:30",
|
||||||
"dir": "inbound",
|
"best_departure_estimate": "10:30",
|
||||||
"direction": "Parks Road (Oxford City Centre)",
|
"date": "2017-05-09",
|
||||||
"expected_departure_date": null,
|
"dir": "inbound",
|
||||||
"expected_departure_time": null,
|
"direction": "Parks Road (Oxford City Centre)",
|
||||||
"id": "https://transportapi.com/v3/uk/bus/route/THTR/X32/inbound/340000368SHE/2017-05-09/10:30/timetable.json?app_id=e99&app_key=058",
|
"expected_departure_date": null,
|
||||||
"line": "X32",
|
"expected_departure_time": null,
|
||||||
"line_name": "X32",
|
"id": "https://transportapi.com/v3/uk/bus/route/THTR/X32/inbound/340000368SHE/2017-05-09/10:30/timetable.json?app_id=e99&app_key=058",
|
||||||
"mode": "bus",
|
"line": "X32",
|
||||||
"operator": "THTR",
|
"line_name": "X32",
|
||||||
"operator_name": "Thames Travel",
|
"mode": "bus",
|
||||||
"source": "Traveline timetable (not a nextbuses live region)"
|
"operator": "THTR",
|
||||||
},
|
"operator_name": "Thames Travel",
|
||||||
{
|
"source": "Traveline timetable (not a nextbuses live region)"
|
||||||
"aimed_departure_time": "10:39",
|
},
|
||||||
"best_departure_estimate": "10:39",
|
{
|
||||||
"date": "2017-05-09",
|
"aimed_departure_time": "10:39",
|
||||||
"dir": "inbound",
|
"best_departure_estimate": "10:39",
|
||||||
"direction": "Parkway Station (Didcot)",
|
"date": "2017-05-09",
|
||||||
"expected_departure_date": null,
|
"dir": "inbound",
|
||||||
"expected_departure_time": null,
|
"direction": "Parkway Station (Didcot)",
|
||||||
"id": "https://transportapi.com/v3/uk/bus/route/THTR/X32/inbound/340000368SHE/2017-05-09/10:39/timetable.json?app_id=e99&app_key=058",
|
"expected_departure_date": null,
|
||||||
"line": "X32",
|
"expected_departure_time": null,
|
||||||
"line_name": "X32",
|
"id": "https://transportapi.com/v3/uk/bus/route/THTR/X32/inbound/340000368SHE/2017-05-09/10:39/timetable.json?app_id=e99&app_key=058",
|
||||||
"mode": "bus",
|
"line": "X32",
|
||||||
"operator": "THTR",
|
"line_name": "X32",
|
||||||
"operator_name": "Thames Travel",
|
"mode": "bus",
|
||||||
"source": "Traveline timetable (not a nextbuses live region)"
|
"operator": "THTR",
|
||||||
}
|
"operator_name": "Thames Travel",
|
||||||
]
|
"source": "Traveline timetable (not a nextbuses live region)"
|
||||||
},
|
}
|
||||||
"indicator": "in",
|
]
|
||||||
"locality": "Harwell Campus",
|
},
|
||||||
"name": "Bus Station (in)",
|
"indicator": "in",
|
||||||
"request_time": "2017-05-09T10:03:41+01:00",
|
"locality": "Harwell Campus",
|
||||||
"smscode": "oxfajwgp",
|
"name": "Bus Station (in)",
|
||||||
"stop_name": "Bus Station"
|
"request_time": "2017-05-09T10:03:41+01:00",
|
||||||
|
"smscode": "oxfajwgp",
|
||||||
|
"stop_name": "Bus Station"
|
||||||
}
|
}
|
||||||
|
28
tests/fixtures/whoami.json
vendored
28
tests/fixtures/whoami.json
vendored
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"ip": "1.2.3.4",
|
"ip": "1.2.3.4",
|
||||||
"city": "Gotham",
|
"city": "Gotham",
|
||||||
"continent": "Earth",
|
"continent": "Earth",
|
||||||
"country": "XX",
|
"country": "XX",
|
||||||
"currency": "XXX",
|
"currency": "XXX",
|
||||||
"latitude": "12.34567",
|
"latitude": "12.34567",
|
||||||
"longitude": "12.34567",
|
"longitude": "12.34567",
|
||||||
"postal_code": "12345",
|
"postal_code": "12345",
|
||||||
"region_code": "00",
|
"region_code": "00",
|
||||||
"region": "Gotham",
|
"region": "Gotham",
|
||||||
"timezone": "Earth/Gotham",
|
"timezone": "Earth/Gotham",
|
||||||
"iso_time": "2021-05-12T11:29:15.752Z",
|
"iso_time": "2021-05-12T11:29:15.752Z",
|
||||||
"timestamp": 1620818956
|
"timestamp": 1620818956
|
||||||
}
|
}
|
||||||
|
45
tests/fixtures/wsdot.json
vendored
45
tests/fixtures/wsdot.json
vendored
@ -1,20 +1,25 @@
|
|||||||
{"Description": "Downtown Seattle to Downtown Bellevue via I-90",
|
{
|
||||||
"TimeUpdated": "/Date(1485040200000-0800)/",
|
"Description": "Downtown Seattle to Downtown Bellevue via I-90",
|
||||||
"Distance": 10.6,
|
"TimeUpdated": "/Date(1485040200000-0800)/",
|
||||||
"EndPoint": {"Direction": "N",
|
"Distance": 10.6,
|
||||||
"Description": "I-405 @ NE 8th St in Bellevue",
|
"EndPoint": {
|
||||||
"Longitude": -122.18797,
|
"Direction": "N",
|
||||||
"MilePost": 13.6,
|
"Description": "I-405 @ NE 8th St in Bellevue",
|
||||||
"Latitude": 47.61361,
|
"Longitude": -122.18797,
|
||||||
"RoadName": "I-405"},
|
"MilePost": 13.6,
|
||||||
"StartPoint": {"Direction": "S",
|
"Latitude": 47.61361,
|
||||||
"Description": "I-5 @ University St in Seattle",
|
"RoadName": "I-405"
|
||||||
"Longitude": -122.331759,
|
},
|
||||||
"MilePost": 165.83,
|
"StartPoint": {
|
||||||
"Latitude": 47.609294,
|
"Direction": "S",
|
||||||
"RoadName": "I-5"},
|
"Description": "I-5 @ University St in Seattle",
|
||||||
"CurrentTime": 11,
|
"Longitude": -122.331759,
|
||||||
"TravelTimeID": 96,
|
"MilePost": 165.83,
|
||||||
"Name": "Seattle-Bellevue via I-90 (EB AM)",
|
"Latitude": 47.609294,
|
||||||
"AverageTime": 11}
|
"RoadName": "I-5"
|
||||||
|
},
|
||||||
|
"CurrentTime": 11,
|
||||||
|
"TravelTimeID": 96,
|
||||||
|
"Name": "Seattle-Bellevue via I-90 (EB AM)",
|
||||||
|
"AverageTime": 11
|
||||||
|
}
|
||||||
|
168
tests/fixtures/yahoo_finance.json
vendored
168
tests/fixtures/yahoo_finance.json
vendored
@ -1,85 +1,85 @@
|
|||||||
{
|
{
|
||||||
"symbol": "YHOO",
|
"symbol": "YHOO",
|
||||||
"Ask": "42.42",
|
"Ask": "42.42",
|
||||||
"AverageDailyVolume": "11397600",
|
"AverageDailyVolume": "11397600",
|
||||||
"Bid": "42.41",
|
"Bid": "42.41",
|
||||||
"AskRealtime": null,
|
"AskRealtime": null,
|
||||||
"BidRealtime": null,
|
"BidRealtime": null,
|
||||||
"BookValue": "29.83",
|
"BookValue": "29.83",
|
||||||
"Change_PercentChange": "+0.62 - +1.48%",
|
"Change_PercentChange": "+0.62 - +1.48%",
|
||||||
"Change": "+0.62",
|
"Change": "+0.62",
|
||||||
"Commission": null,
|
"Commission": null,
|
||||||
"Currency": "USD",
|
"Currency": "USD",
|
||||||
"ChangeRealtime": null,
|
"ChangeRealtime": null,
|
||||||
"AfterHoursChangeRealtime": null,
|
"AfterHoursChangeRealtime": null,
|
||||||
"DividendShare": null,
|
"DividendShare": null,
|
||||||
"LastTradeDate": "10/18/2016",
|
"LastTradeDate": "10/18/2016",
|
||||||
"TradeDate": null,
|
"TradeDate": null,
|
||||||
"EarningsShare": "-5.18",
|
"EarningsShare": "-5.18",
|
||||||
"ErrorIndicationreturnedforsymbolchangedinvalid": null,
|
"ErrorIndicationreturnedforsymbolchangedinvalid": null,
|
||||||
"EPSEstimateCurrentYear": "0.49",
|
"EPSEstimateCurrentYear": "0.49",
|
||||||
"EPSEstimateNextYear": "0.57",
|
"EPSEstimateNextYear": "0.57",
|
||||||
"EPSEstimateNextQuarter": "0.17",
|
"EPSEstimateNextQuarter": "0.17",
|
||||||
"DaysLow": "41.86",
|
"DaysLow": "41.86",
|
||||||
"DaysHigh": "42.42",
|
"DaysHigh": "42.42",
|
||||||
"YearLow": "26.15",
|
"YearLow": "26.15",
|
||||||
"YearHigh": "44.92",
|
"YearHigh": "44.92",
|
||||||
"HoldingsGainPercent": null,
|
"HoldingsGainPercent": null,
|
||||||
"AnnualizedGain": null,
|
"AnnualizedGain": null,
|
||||||
"HoldingsGain": null,
|
"HoldingsGain": null,
|
||||||
"HoldingsGainPercentRealtime": null,
|
"HoldingsGainPercentRealtime": null,
|
||||||
"HoldingsGainRealtime": null,
|
"HoldingsGainRealtime": null,
|
||||||
"MoreInfo": null,
|
"MoreInfo": null,
|
||||||
"OrderBookRealtime": null,
|
"OrderBookRealtime": null,
|
||||||
"MarketCapitalization": "40.37B",
|
"MarketCapitalization": "40.37B",
|
||||||
"MarketCapRealtime": null,
|
"MarketCapRealtime": null,
|
||||||
"EBITDA": "151.08M",
|
"EBITDA": "151.08M",
|
||||||
"ChangeFromYearLow": "16.26",
|
"ChangeFromYearLow": "16.26",
|
||||||
"PercentChangeFromYearLow": "+62.18%",
|
"PercentChangeFromYearLow": "+62.18%",
|
||||||
"LastTradeRealtimeWithTime": null,
|
"LastTradeRealtimeWithTime": null,
|
||||||
"ChangePercentRealtime": null,
|
"ChangePercentRealtime": null,
|
||||||
"ChangeFromYearHigh": "-2.51",
|
"ChangeFromYearHigh": "-2.51",
|
||||||
"PercebtChangeFromYearHigh": "-5.59%",
|
"PercebtChangeFromYearHigh": "-5.59%",
|
||||||
"LastTradeWithTime": "9:41am - <b>42.41</b>",
|
"LastTradeWithTime": "9:41am - <b>42.41</b>",
|
||||||
"LastTradePriceOnly": "42.41",
|
"LastTradePriceOnly": "42.41",
|
||||||
"HighLimit": null,
|
"HighLimit": null,
|
||||||
"LowLimit": null,
|
"LowLimit": null,
|
||||||
"DaysRange": "41.86 - 42.42",
|
"DaysRange": "41.86 - 42.42",
|
||||||
"DaysRangeRealtime": null,
|
"DaysRangeRealtime": null,
|
||||||
"FiftydayMovingAverage": "43.16",
|
"FiftydayMovingAverage": "43.16",
|
||||||
"TwoHundreddayMovingAverage": "39.26",
|
"TwoHundreddayMovingAverage": "39.26",
|
||||||
"ChangeFromTwoHundreddayMovingAverage": "3.15",
|
"ChangeFromTwoHundreddayMovingAverage": "3.15",
|
||||||
"PercentChangeFromTwoHundreddayMovingAverage": "+8.03%",
|
"PercentChangeFromTwoHundreddayMovingAverage": "+8.03%",
|
||||||
"ChangeFromFiftydayMovingAverage": "-0.75",
|
"ChangeFromFiftydayMovingAverage": "-0.75",
|
||||||
"PercentChangeFromFiftydayMovingAverage": "-1.74%",
|
"PercentChangeFromFiftydayMovingAverage": "-1.74%",
|
||||||
"Name": "Yahoo! Inc.",
|
"Name": "Yahoo! Inc.",
|
||||||
"Notes": null,
|
"Notes": null,
|
||||||
"Open": "41.69",
|
"Open": "41.69",
|
||||||
"PreviousClose": "41.79",
|
"PreviousClose": "41.79",
|
||||||
"PricePaid": null,
|
"PricePaid": null,
|
||||||
"ChangeinPercent": "+1.48%",
|
"ChangeinPercent": "+1.48%",
|
||||||
"PriceSales": "8.13",
|
"PriceSales": "8.13",
|
||||||
"PriceBook": "1.40",
|
"PriceBook": "1.40",
|
||||||
"ExDividendDate": null,
|
"ExDividendDate": null,
|
||||||
"PERatio": null,
|
"PERatio": null,
|
||||||
"DividendPayDate": null,
|
"DividendPayDate": null,
|
||||||
"PERatioRealtime": null,
|
"PERatioRealtime": null,
|
||||||
"PEGRatio": "-24.57",
|
"PEGRatio": "-24.57",
|
||||||
"PriceEPSEstimateCurrentYear": "86.55",
|
"PriceEPSEstimateCurrentYear": "86.55",
|
||||||
"PriceEPSEstimateNextYear": "74.40",
|
"PriceEPSEstimateNextYear": "74.40",
|
||||||
"Symbol": "YHOO",
|
"Symbol": "YHOO",
|
||||||
"SharesOwned": null,
|
"SharesOwned": null,
|
||||||
"ShortRatio": "5.05",
|
"ShortRatio": "5.05",
|
||||||
"LastTradeTime": "9:41am",
|
"LastTradeTime": "9:41am",
|
||||||
"TickerTrend": null,
|
"TickerTrend": null,
|
||||||
"OneyrTargetPrice": "43.64",
|
"OneyrTargetPrice": "43.64",
|
||||||
"Volume": "946198",
|
"Volume": "946198",
|
||||||
"HoldingsValue": null,
|
"HoldingsValue": null,
|
||||||
"HoldingsValueRealtime": null,
|
"HoldingsValueRealtime": null,
|
||||||
"YearRange": "26.15 - 44.92",
|
"YearRange": "26.15 - 44.92",
|
||||||
"DaysValueChange": null,
|
"DaysValueChange": null,
|
||||||
"DaysValueChangeRealtime": null,
|
"DaysValueChangeRealtime": null,
|
||||||
"StockExchange": "NMS",
|
"StockExchange": "NMS",
|
||||||
"DividendYield": null,
|
"DividendYield": null,
|
||||||
"PercentChange": "+1.48%"
|
"PercentChange": "+1.48%"
|
||||||
}
|
}
|
||||||
|
153
tests/fixtures/yahooweather.json
vendored
153
tests/fixtures/yahooweather.json
vendored
@ -56,77 +56,88 @@
|
|||||||
"temp": "18",
|
"temp": "18",
|
||||||
"text": "Cloudy"
|
"text": "Cloudy"
|
||||||
},
|
},
|
||||||
"forecast": [{
|
"forecast": [
|
||||||
"code": "28",
|
{
|
||||||
"date": "17 Nov 2017",
|
"code": "28",
|
||||||
"day": "Fri",
|
"date": "17 Nov 2017",
|
||||||
"high": "23",
|
"day": "Fri",
|
||||||
"low": "16",
|
"high": "23",
|
||||||
"text": "Mostly Cloudy"
|
"low": "16",
|
||||||
}, {
|
"text": "Mostly Cloudy"
|
||||||
"code": "30",
|
},
|
||||||
"date": "18 Nov 2017",
|
{
|
||||||
"day": "Sat",
|
"code": "30",
|
||||||
"high": "22",
|
"date": "18 Nov 2017",
|
||||||
"low": "13",
|
"day": "Sat",
|
||||||
"text": "Partly Cloudy"
|
"high": "22",
|
||||||
}, {
|
"low": "13",
|
||||||
"code": "30",
|
"text": "Partly Cloudy"
|
||||||
"date": "19 Nov 2017",
|
},
|
||||||
"day": "Sun",
|
{
|
||||||
"high": "22",
|
"code": "30",
|
||||||
"low": "12",
|
"date": "19 Nov 2017",
|
||||||
"text": "Partly Cloudy"
|
"day": "Sun",
|
||||||
}, {
|
"high": "22",
|
||||||
"code": "28",
|
"low": "12",
|
||||||
"date": "20 Nov 2017",
|
"text": "Partly Cloudy"
|
||||||
"day": "Mon",
|
},
|
||||||
"high": "21",
|
{
|
||||||
"low": "11",
|
"code": "28",
|
||||||
"text": "Mostly Cloudy"
|
"date": "20 Nov 2017",
|
||||||
}, {
|
"day": "Mon",
|
||||||
"code": "28",
|
"high": "21",
|
||||||
"date": "21 Nov 2017",
|
"low": "11",
|
||||||
"day": "Tue",
|
"text": "Mostly Cloudy"
|
||||||
"high": "24",
|
},
|
||||||
"low": "14",
|
{
|
||||||
"text": "Mostly Cloudy"
|
"code": "28",
|
||||||
}, {
|
"date": "21 Nov 2017",
|
||||||
"code": "30",
|
"day": "Tue",
|
||||||
"date": "22 Nov 2017",
|
"high": "24",
|
||||||
"day": "Wed",
|
"low": "14",
|
||||||
"high": "27",
|
"text": "Mostly Cloudy"
|
||||||
"low": "15",
|
},
|
||||||
"text": "Partly Cloudy"
|
{
|
||||||
}, {
|
"code": "30",
|
||||||
"code": "34",
|
"date": "22 Nov 2017",
|
||||||
"date": "23 Nov 2017",
|
"day": "Wed",
|
||||||
"day": "Thu",
|
"high": "27",
|
||||||
"high": "27",
|
"low": "15",
|
||||||
"low": "15",
|
"text": "Partly Cloudy"
|
||||||
"text": "Mostly Sunny"
|
},
|
||||||
}, {
|
{
|
||||||
"code": "30",
|
"code": "34",
|
||||||
"date": "24 Nov 2017",
|
"date": "23 Nov 2017",
|
||||||
"day": "Fri",
|
"day": "Thu",
|
||||||
"high": "23",
|
"high": "27",
|
||||||
"low": "16",
|
"low": "15",
|
||||||
"text": "Partly Cloudy"
|
"text": "Mostly Sunny"
|
||||||
}, {
|
},
|
||||||
"code": "30",
|
{
|
||||||
"date": "25 Nov 2017",
|
"code": "30",
|
||||||
"day": "Sat",
|
"date": "24 Nov 2017",
|
||||||
"high": "22",
|
"day": "Fri",
|
||||||
"low": "15",
|
"high": "23",
|
||||||
"text": "Partly Cloudy"
|
"low": "16",
|
||||||
}, {
|
"text": "Partly Cloudy"
|
||||||
"code": "28",
|
},
|
||||||
"date": "26 Nov 2017",
|
{
|
||||||
"day": "Sun",
|
"code": "30",
|
||||||
"high": "24",
|
"date": "25 Nov 2017",
|
||||||
"low": "13",
|
"day": "Sat",
|
||||||
"text": "Mostly Cloudy"
|
"high": "22",
|
||||||
}],
|
"low": "15",
|
||||||
|
"text": "Partly Cloudy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "28",
|
||||||
|
"date": "26 Nov 2017",
|
||||||
|
"day": "Sun",
|
||||||
|
"high": "24",
|
||||||
|
"low": "13",
|
||||||
|
"text": "Mostly Cloudy"
|
||||||
|
}
|
||||||
|
],
|
||||||
"description": "<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/26.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Cloudy\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Fri - Mostly Cloudy. High: 23Low: 16\n<BR /> Sat - Partly Cloudy. High: 22Low: 13\n<BR /> Sun - Partly Cloudy. High: 22Low: 12\n<BR /> Mon - Mostly Cloudy. High: 21Low: 11\n<BR /> Tue - Mostly Cloudy. High: 24Low: 14\n<BR />\n<BR />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-23511632/\">Full Forecast at Yahoo! Weather</a>\n<BR />\n<BR />\n<BR />\n]]>",
|
"description": "<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/26.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Cloudy\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Fri - Mostly Cloudy. High: 23Low: 16\n<BR /> Sat - Partly Cloudy. High: 22Low: 13\n<BR /> Sun - Partly Cloudy. High: 22Low: 12\n<BR /> Mon - Mostly Cloudy. High: 21Low: 11\n<BR /> Tue - Mostly Cloudy. High: 24Low: 14\n<BR />\n<BR />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-23511632/\">Full Forecast at Yahoo! Weather</a>\n<BR />\n<BR />\n<BR />\n]]>",
|
||||||
"guid": {
|
"guid": {
|
||||||
"isPermaLink": "false"
|
"isPermaLink": "false"
|
||||||
|
251
tests/fixtures/yandex_transport_bus_reply.json
vendored
251
tests/fixtures/yandex_transport_bus_reply.json
vendored
@ -2,10 +2,7 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"id": "stop__9639579",
|
"id": "stop__9639579",
|
||||||
"name": "7-й автобусный парк",
|
"name": "7-й автобусный парк",
|
||||||
"coordinates": [
|
"coordinates": [37.565280044, 55.851959656],
|
||||||
37.565280044,
|
|
||||||
55.851959656
|
|
||||||
],
|
|
||||||
"currentTime": 1583421546364,
|
"currentTime": 1583421546364,
|
||||||
"tzOffset": 10800,
|
"tzOffset": 10800,
|
||||||
"type": "urban",
|
"type": "urban",
|
||||||
@ -52,14 +49,8 @@
|
|||||||
],
|
],
|
||||||
"seoname": "moscow",
|
"seoname": "moscow",
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[37.0402925, 55.31141404514547],
|
||||||
37.0402925,
|
[38.2047155, 56.190068045145466]
|
||||||
55.31141404514547
|
|
||||||
],
|
|
||||||
[
|
|
||||||
38.2047155,
|
|
||||||
56.190068045145466
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"names": {
|
"names": {
|
||||||
"ablative": "",
|
"ablative": "",
|
||||||
@ -114,21 +105,11 @@
|
|||||||
21622
|
21622
|
||||||
],
|
],
|
||||||
"is_eu": false,
|
"is_eu": false,
|
||||||
"services_names": [
|
"services_names": ["bs", "yaca", "ad"],
|
||||||
"bs",
|
|
||||||
"yaca",
|
|
||||||
"ad"
|
|
||||||
],
|
|
||||||
"seoname": "moscow-and-moscow-oblast",
|
"seoname": "moscow-and-moscow-oblast",
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[34.8496565, 54.439456064325434],
|
||||||
34.8496565,
|
[39.9104055, 57.14511506432543]
|
||||||
54.439456064325434
|
|
||||||
],
|
|
||||||
[
|
|
||||||
39.9104055,
|
|
||||||
57.14511506432543
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"names": {
|
"names": {
|
||||||
"ablative": "",
|
"ablative": "",
|
||||||
@ -168,36 +149,13 @@
|
|||||||
"tzname": "",
|
"tzname": "",
|
||||||
"official_languages": "ru",
|
"official_languages": "ru",
|
||||||
"widespread_languages": "ru",
|
"widespread_languages": "ru",
|
||||||
"suggest_list": [
|
"suggest_list": [213, 2, 65, 54, 47, 43, 66, 51, 56, 172, 39, 62],
|
||||||
213,
|
|
||||||
2,
|
|
||||||
65,
|
|
||||||
54,
|
|
||||||
47,
|
|
||||||
43,
|
|
||||||
66,
|
|
||||||
51,
|
|
||||||
56,
|
|
||||||
172,
|
|
||||||
39,
|
|
||||||
62
|
|
||||||
],
|
|
||||||
"is_eu": false,
|
"is_eu": false,
|
||||||
"services_names": [
|
"services_names": ["bs", "yaca", "ad"],
|
||||||
"bs",
|
|
||||||
"yaca",
|
|
||||||
"ad"
|
|
||||||
],
|
|
||||||
"seoname": "russia",
|
"seoname": "russia",
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[13.683785499999999, 35.290400699917846],
|
||||||
13.683785499999999,
|
[-174.6729755, 75.99052769991785]
|
||||||
35.290400699917846
|
|
||||||
],
|
|
||||||
[
|
|
||||||
-174.6729755,
|
|
||||||
75.99052769991785
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"names": {
|
"names": {
|
||||||
"ablative": "",
|
"ablative": "",
|
||||||
@ -218,9 +176,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036924633",
|
"lineId": "2036924633",
|
||||||
"name": "215",
|
"name": "215",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -261,9 +217,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036924720",
|
"lineId": "2036924720",
|
||||||
"name": "692",
|
"name": "692",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -325,9 +279,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036924957",
|
"lineId": "2036924957",
|
||||||
"name": "т29",
|
"name": "т29",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -403,9 +355,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036924959",
|
"lineId": "2036924959",
|
||||||
"name": "т3",
|
"name": "т3",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -473,9 +423,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036924968",
|
"lineId": "2036924968",
|
||||||
"name": "82",
|
"name": "82",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -531,9 +479,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036925396",
|
"lineId": "2036925396",
|
||||||
"name": "м10",
|
"name": "м10",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -617,9 +563,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036925416",
|
"lineId": "2036925416",
|
||||||
"name": "194",
|
"name": "194",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -675,9 +619,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036925728",
|
"lineId": "2036925728",
|
||||||
"name": "282",
|
"name": "282",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -751,9 +693,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036926781",
|
"lineId": "2036926781",
|
||||||
"name": "154",
|
"name": "154",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -815,9 +755,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036926818",
|
"lineId": "2036926818",
|
||||||
"name": "994",
|
"name": "994",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -867,9 +805,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "2036926890",
|
"lineId": "2036926890",
|
||||||
"name": "466",
|
"name": "466",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -935,9 +871,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_114_bus_mosgortrans",
|
"lineId": "213_114_bus_mosgortrans",
|
||||||
"name": "114",
|
"name": "114",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -999,9 +933,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_179_bus_mosgortrans",
|
"lineId": "213_179_bus_mosgortrans",
|
||||||
"name": "179",
|
"name": "179",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1069,9 +1001,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_191m_minibus_default",
|
"lineId": "213_191m_minibus_default",
|
||||||
"name": "591",
|
"name": "591",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1137,9 +1067,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_36_trolleybus_mosgortrans",
|
"lineId": "213_36_trolleybus_mosgortrans",
|
||||||
"name": "т36",
|
"name": "т36",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1207,9 +1135,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_47_trolleybus_mosgortrans",
|
"lineId": "213_47_trolleybus_mosgortrans",
|
||||||
"name": "т47",
|
"name": "т47",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1285,9 +1211,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_56_trolleybus_mosgortrans",
|
"lineId": "213_56_trolleybus_mosgortrans",
|
||||||
"name": "т56",
|
"name": "т56",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1363,9 +1287,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_677_bus_mosgortrans",
|
"lineId": "213_677_bus_mosgortrans",
|
||||||
"name": "677",
|
"name": "677",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1427,9 +1349,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "213_78_trolleybus_mosgortrans",
|
"lineId": "213_78_trolleybus_mosgortrans",
|
||||||
"name": "т78",
|
"name": "т78",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1505,9 +1425,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "677k_bus_default",
|
"lineId": "677k_bus_default",
|
||||||
"name": "677к",
|
"name": "677к",
|
||||||
"Types": [
|
"Types": ["bus"],
|
||||||
"bus"
|
|
||||||
],
|
|
||||||
"type": "bus",
|
"type": "bus",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -1592,10 +1510,7 @@
|
|||||||
"type": "region",
|
"type": "region",
|
||||||
"url": "https://yandex.ru/maps/213/moscow/",
|
"url": "https://yandex.ru/maps/213/moscow/",
|
||||||
"region": {
|
"region": {
|
||||||
"center": [
|
"center": [37.622504, 55.753215],
|
||||||
37.622504,
|
|
||||||
55.753215
|
|
||||||
],
|
|
||||||
"zoom": 10
|
"zoom": 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1618,23 +1533,11 @@
|
|||||||
"title": "7-й автобусный парк",
|
"title": "7-й автобусный парк",
|
||||||
"description": "Россия, Москва, Дмитровское шоссе",
|
"description": "Россия, Москва, Дмитровское шоссе",
|
||||||
"address": "Россия, Москва, Дмитровское шоссе",
|
"address": "Россия, Москва, Дмитровское шоссе",
|
||||||
"coordinates": [
|
"coordinates": [37.56528, 55.85196],
|
||||||
37.56528,
|
"displayCoordinates": [37.56528, 55.85196],
|
||||||
55.85196
|
|
||||||
],
|
|
||||||
"displayCoordinates": [
|
|
||||||
37.56528,
|
|
||||||
55.85196
|
|
||||||
],
|
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[37.543123, 55.77889866],
|
||||||
37.543123,
|
[37.587437, 55.92488366]
|
||||||
55.77889866
|
|
||||||
],
|
|
||||||
[
|
|
||||||
37.587437,
|
|
||||||
55.92488366
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"logId": "dHlwZT1iaXpmaW5kZXI7aWQ9MjM5MzY2OTUwNjU4",
|
"logId": "dHlwZT1iaXpmaW5kZXI7aWQ9MjM5MzY2OTUwNjU4",
|
||||||
"uri": "ymapsbm1://transit/stop?id=stop__9639579",
|
"uri": "ymapsbm1://transit/stop?id=stop__9639579",
|
||||||
@ -1645,10 +1548,7 @@
|
|||||||
"name": "Верхние Лихоборы",
|
"name": "Верхние Лихоборы",
|
||||||
"distance": "510 м",
|
"distance": "510 м",
|
||||||
"distanceValue": 509.184,
|
"distanceValue": 509.184,
|
||||||
"coordinates": [
|
"coordinates": [37.56121218, 55.854501501],
|
||||||
37.56121218,
|
|
||||||
55.854501501
|
|
||||||
],
|
|
||||||
"type": "metro",
|
"type": "metro",
|
||||||
"color": "#99cc33"
|
"color": "#99cc33"
|
||||||
},
|
},
|
||||||
@ -1657,10 +1557,7 @@
|
|||||||
"name": "Окружная",
|
"name": "Окружная",
|
||||||
"distance": "640 м",
|
"distance": "640 м",
|
||||||
"distanceValue": 641.333,
|
"distanceValue": 641.333,
|
||||||
"coordinates": [
|
"coordinates": [37.572849014, 55.848814359],
|
||||||
37.572849014,
|
|
||||||
55.848814359
|
|
||||||
],
|
|
||||||
"type": "metro",
|
"type": "metro",
|
||||||
"color": "#ffa8af"
|
"color": "#ffa8af"
|
||||||
},
|
},
|
||||||
@ -1669,10 +1566,7 @@
|
|||||||
"name": "Окружная",
|
"name": "Окружная",
|
||||||
"distance": "1,3 км",
|
"distance": "1,3 км",
|
||||||
"distanceValue": 1263.44,
|
"distanceValue": 1263.44,
|
||||||
"coordinates": [
|
"coordinates": [37.575977155, 55.844377845],
|
||||||
37.575977155,
|
|
||||||
55.844377845
|
|
||||||
],
|
|
||||||
"type": "metro",
|
"type": "metro",
|
||||||
"color": "#99cc33"
|
"color": "#99cc33"
|
||||||
}
|
}
|
||||||
@ -1683,10 +1577,7 @@
|
|||||||
"name": "7-й автобусный парк",
|
"name": "7-й автобусный парк",
|
||||||
"distance": "0 м",
|
"distance": "0 м",
|
||||||
"distanceValue": 0.0383997,
|
"distanceValue": 0.0383997,
|
||||||
"coordinates": [
|
"coordinates": [37.565280044, 55.851959656],
|
||||||
37.565280044,
|
|
||||||
55.851959656
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1694,10 +1585,7 @@
|
|||||||
"name": "Метро Верхние Лихоборы",
|
"name": "Метро Верхние Лихоборы",
|
||||||
"distance": "420 м",
|
"distance": "420 м",
|
||||||
"distanceValue": 424.302,
|
"distanceValue": 424.302,
|
||||||
"coordinates": [
|
"coordinates": [37.563047501, 55.853727589],
|
||||||
37.563047501,
|
|
||||||
55.853727589
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1705,10 +1593,7 @@
|
|||||||
"name": "Метро Верхние Лихоборы (северный вестибюль)",
|
"name": "Метро Верхние Лихоборы (северный вестибюль)",
|
||||||
"distance": "630 м",
|
"distance": "630 м",
|
||||||
"distanceValue": 629.689,
|
"distanceValue": 629.689,
|
||||||
"coordinates": [
|
"coordinates": [37.562346735, 55.857147019],
|
||||||
37.562346735,
|
|
||||||
55.857147019
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1716,10 +1601,7 @@
|
|||||||
"name": "Окружная",
|
"name": "Окружная",
|
||||||
"distance": "860 м",
|
"distance": "860 м",
|
||||||
"distanceValue": 857.487,
|
"distanceValue": 857.487,
|
||||||
"coordinates": [
|
"coordinates": [37.574303, 55.847684],
|
||||||
37.574303,
|
|
||||||
55.847684
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1727,25 +1609,16 @@
|
|||||||
"name": "Станция Окружная",
|
"name": "Станция Окружная",
|
||||||
"distance": "930 м",
|
"distance": "930 м",
|
||||||
"distanceValue": 926.144,
|
"distanceValue": 926.144,
|
||||||
"coordinates": [
|
"coordinates": [37.576123886, 55.847913668],
|
||||||
37.576123886,
|
|
||||||
55.847913668
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"panorama": {
|
"panorama": {
|
||||||
"id": "1297826777_672185801_23_1574243990",
|
"id": "1297826777_672185801_23_1574243990",
|
||||||
"direction": [
|
"direction": [32, 10],
|
||||||
32,
|
|
||||||
10
|
|
||||||
],
|
|
||||||
"point": {
|
"point": {
|
||||||
"type": "Point",
|
"type": "Point",
|
||||||
"coordinates": [
|
"coordinates": [37.565167718, 55.8518591059]
|
||||||
37.565167718,
|
|
||||||
55.8518591059
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"preview": "https://avatars.mds.yandex.net/get-altay/1908863/2a00000169e52b1c1475fd4b51bae1f09966/%s",
|
"preview": "https://avatars.mds.yandex.net/get-altay/1908863/2a00000169e52b1c1475fd4b51bae1f09966/%s",
|
||||||
"staticPreview": "https://static-pano.maps.yandex.ru/v1/?panoid=1297826777_672185801_23_1574243990&size=500,240&azimuth=32&tilt=10&signature=fiN27DzM02pZ3x3eVIodfiQQ8tFX2_KGNZocjzsdfnA="
|
"staticPreview": "https://static-pano.maps.yandex.ru/v1/?panoid=1297826777_672185801_23_1574243990&size=500,240&azimuth=32&tilt=10&signature=fiN27DzM02pZ3x3eVIodfiQQ8tFX2_KGNZocjzsdfnA="
|
||||||
@ -1778,12 +1651,8 @@
|
|||||||
"has_verified_owner": false,
|
"has_verified_owner": false,
|
||||||
"geoproduct_poi_color": "#ABAEB3",
|
"geoproduct_poi_color": "#ABAEB3",
|
||||||
"snippet_show_photo": "single_photo",
|
"snippet_show_photo": "single_photo",
|
||||||
"snippet_show_subline": [
|
"snippet_show_subline": ["no_subline"],
|
||||||
"no_subline"
|
"unusual_hours": ["2020-03-08"]
|
||||||
],
|
|
||||||
"unusual_hours": [
|
|
||||||
"2020-03-08"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"seoname": "7_y_avtobusny_park",
|
"seoname": "7_y_avtobusny_park",
|
||||||
"geoId": 117015,
|
"geoId": 117015,
|
||||||
@ -1795,21 +1664,11 @@
|
|||||||
],
|
],
|
||||||
"region": {
|
"region": {
|
||||||
"id": 213,
|
"id": 213,
|
||||||
"hierarchy": [
|
"hierarchy": [225, 1, 213],
|
||||||
225,
|
|
||||||
1,
|
|
||||||
213
|
|
||||||
],
|
|
||||||
"seoname": "moscow",
|
"seoname": "moscow",
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[37.0402925, 55.31141404514547],
|
||||||
37.0402925,
|
[38.2047155, 56.190068045145466]
|
||||||
55.31141404514547
|
|
||||||
],
|
|
||||||
[
|
|
||||||
38.2047155,
|
|
||||||
56.190068045145466
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"names": {
|
"names": {
|
||||||
"ablative": "",
|
"ablative": "",
|
||||||
@ -1838,10 +1697,7 @@
|
|||||||
"type": "region",
|
"type": "region",
|
||||||
"url": "https://yandex.ru/maps/213/moscow/",
|
"url": "https://yandex.ru/maps/213/moscow/",
|
||||||
"region": {
|
"region": {
|
||||||
"center": [
|
"center": [37.622504, 55.753215],
|
||||||
37.622504,
|
|
||||||
55.753215
|
|
||||||
],
|
|
||||||
"zoom": 10
|
"zoom": 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1867,10 +1723,7 @@
|
|||||||
"id": "10049405",
|
"id": "10049405",
|
||||||
"seoname": "dmitrovskoye_shosse",
|
"seoname": "dmitrovskoye_shosse",
|
||||||
"kind": "street",
|
"kind": "street",
|
||||||
"coordinates": [
|
"coordinates": [37.547719, 55.87593],
|
||||||
37.547719,
|
|
||||||
55.87593
|
|
||||||
],
|
|
||||||
"encodedCoordinates": "Z04YcwNnTkQOQFtvfXR2dHVgZA=="
|
"encodedCoordinates": "Z04YcwNnTkQOQFtvfXR2dHVgZA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
143
tests/fixtures/yandex_transport_suburban_reply.json
vendored
143
tests/fixtures/yandex_transport_suburban_reply.json
vendored
@ -2,31 +2,18 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"id": "station__lh_9876336",
|
"id": "station__lh_9876336",
|
||||||
"name": "Славянский Бульвар",
|
"name": "Славянский Бульвар",
|
||||||
"coordinates": [
|
"coordinates": [37.47243, 55.730359],
|
||||||
37.47243,
|
|
||||||
55.730359
|
|
||||||
],
|
|
||||||
"currentTime": 1634984296770,
|
"currentTime": 1634984296770,
|
||||||
"tzOffset": 10800,
|
"tzOffset": 10800,
|
||||||
"type": "railway",
|
"type": "railway",
|
||||||
"region": {
|
"region": {
|
||||||
"id": 213,
|
"id": 213,
|
||||||
"capitalId": 0,
|
"capitalId": 0,
|
||||||
"hierarchy": [
|
"hierarchy": [225, 1, 213],
|
||||||
225,
|
|
||||||
1,
|
|
||||||
213
|
|
||||||
],
|
|
||||||
"seoname": "moscow",
|
"seoname": "moscow",
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[37.0402925, 55.31141404514547],
|
||||||
37.0402925,
|
[38.2047155, 56.190068045145466]
|
||||||
55.31141404514547
|
|
||||||
],
|
|
||||||
[
|
|
||||||
38.2047155,
|
|
||||||
56.190068045145466
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"longitude": 37.622504,
|
"longitude": 37.622504,
|
||||||
"latitude": 55.753215,
|
"latitude": 55.753215,
|
||||||
@ -48,10 +35,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "lh_6031x7531_9600213_g21_4",
|
"lineId": "lh_6031x7531_9600213_g21_4",
|
||||||
"name": "6031/7531",
|
"name": "6031/7531",
|
||||||
"Types": [
|
"Types": ["suburban", "railway"],
|
||||||
"suburban",
|
|
||||||
"railway"
|
|
||||||
],
|
|
||||||
"type": "suburban",
|
"type": "suburban",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -88,10 +72,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "lh_6183_9600781_g21_4",
|
"lineId": "lh_6183_9600781_g21_4",
|
||||||
"name": "6183",
|
"name": "6183",
|
||||||
"Types": [
|
"Types": ["suburban", "railway"],
|
||||||
"suburban",
|
|
||||||
"railway"
|
|
||||||
],
|
|
||||||
"type": "suburban",
|
"type": "suburban",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -128,10 +109,7 @@
|
|||||||
{
|
{
|
||||||
"lineId": "lh_7268_9600721_g21_4",
|
"lineId": "lh_7268_9600721_g21_4",
|
||||||
"name": "7268",
|
"name": "7268",
|
||||||
"Types": [
|
"Types": ["suburban", "railway"],
|
||||||
"suburban",
|
|
||||||
"railway"
|
|
||||||
],
|
|
||||||
"type": "suburban",
|
"type": "suburban",
|
||||||
"threads": [
|
"threads": [
|
||||||
{
|
{
|
||||||
@ -183,10 +161,7 @@
|
|||||||
"type": "region",
|
"type": "region",
|
||||||
"url": "https://yandex.ru/maps/213/moscow/",
|
"url": "https://yandex.ru/maps/213/moscow/",
|
||||||
"region": {
|
"region": {
|
||||||
"center": [
|
"center": [37.622504, 55.753215],
|
||||||
37.622504,
|
|
||||||
55.753215
|
|
||||||
],
|
|
||||||
"zoom": 10
|
"zoom": 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -209,23 +184,11 @@
|
|||||||
"title": "Станция метро Славянский бульвар",
|
"title": "Станция метро Славянский бульвар",
|
||||||
"description": "Россия, Москва, Западный административный округ, район Фили-Давыдково",
|
"description": "Россия, Москва, Западный административный округ, район Фили-Давыдково",
|
||||||
"address": "Россия, Москва, Западный административный округ, район Фили-Давыдково",
|
"address": "Россия, Москва, Западный административный округ, район Фили-Давыдково",
|
||||||
"coordinates": [
|
"coordinates": [37.47049, 55.729442],
|
||||||
37.47049,
|
"displayCoordinates": [37.47049, 55.729442],
|
||||||
55.729442
|
|
||||||
],
|
|
||||||
"displayCoordinates": [
|
|
||||||
37.47049,
|
|
||||||
55.729442
|
|
||||||
],
|
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[37.464149, 55.725767],
|
||||||
37.464149,
|
[37.480606, 55.735054]
|
||||||
55.725767
|
|
||||||
],
|
|
||||||
[
|
|
||||||
37.480606,
|
|
||||||
55.735054
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"uri": "ymapsbm1://transit/stop?id=station__lh_9876336",
|
"uri": "ymapsbm1://transit/stop?id=station__lh_9876336",
|
||||||
"logId": "dHlwZT1iaXpmaW5kZXI7aWQ9MjM2OTE0NjU0Nzcx",
|
"logId": "dHlwZT1iaXpmaW5kZXI7aWQ9MjM2OTE0NjU0Nzcx",
|
||||||
@ -236,10 +199,7 @@
|
|||||||
"name": "Славянский бульвар",
|
"name": "Славянский бульвар",
|
||||||
"distance": "130 м",
|
"distance": "130 м",
|
||||||
"distanceValue": 131.128,
|
"distanceValue": 131.128,
|
||||||
"coordinates": [
|
"coordinates": [37.46880848, 55.729018063],
|
||||||
37.46880848,
|
|
||||||
55.729018063
|
|
||||||
],
|
|
||||||
"type": "metro",
|
"type": "metro",
|
||||||
"color": "#003399"
|
"color": "#003399"
|
||||||
},
|
},
|
||||||
@ -248,10 +208,7 @@
|
|||||||
"name": "Пионерская",
|
"name": "Пионерская",
|
||||||
"distance": "1,1 км",
|
"distance": "1,1 км",
|
||||||
"distanceValue": 1145.75,
|
"distanceValue": 1145.75,
|
||||||
"coordinates": [
|
"coordinates": [37.467484245, 55.736075908],
|
||||||
37.467484245,
|
|
||||||
55.736075908
|
|
||||||
],
|
|
||||||
"type": "metro",
|
"type": "metro",
|
||||||
"color": "#0099cc"
|
"color": "#0099cc"
|
||||||
},
|
},
|
||||||
@ -260,10 +217,7 @@
|
|||||||
"name": "Филёвский парк",
|
"name": "Филёвский парк",
|
||||||
"distance": "1,9 км",
|
"distance": "1,9 км",
|
||||||
"distanceValue": 1940.38,
|
"distanceValue": 1940.38,
|
||||||
"coordinates": [
|
"coordinates": [37.48289444, 55.739425767],
|
||||||
37.48289444,
|
|
||||||
55.739425767
|
|
||||||
],
|
|
||||||
"type": "metro",
|
"type": "metro",
|
||||||
"color": "#0099cc"
|
"color": "#0099cc"
|
||||||
}
|
}
|
||||||
@ -274,10 +228,7 @@
|
|||||||
"name": "Метро Славянский бульвар",
|
"name": "Метро Славянский бульвар",
|
||||||
"distance": "300 м",
|
"distance": "300 м",
|
||||||
"distanceValue": 295.068,
|
"distanceValue": 295.068,
|
||||||
"coordinates": [
|
"coordinates": [37.473066913, 55.728642545],
|
||||||
37.473066913,
|
|
||||||
55.728642545
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -285,10 +236,7 @@
|
|||||||
"name": "Давыдково",
|
"name": "Давыдково",
|
||||||
"distance": "680 м",
|
"distance": "680 м",
|
||||||
"distanceValue": 675.354,
|
"distanceValue": 675.354,
|
||||||
"coordinates": [
|
"coordinates": [37.469965263, 55.727241055],
|
||||||
37.469965263,
|
|
||||||
55.727241055
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -296,10 +244,7 @@
|
|||||||
"name": "Давыдковская улица",
|
"name": "Давыдковская улица",
|
||||||
"distance": "770 м",
|
"distance": "770 м",
|
||||||
"distanceValue": 774.503,
|
"distanceValue": 774.503,
|
||||||
"coordinates": [
|
"coordinates": [37.478631492, 55.726709525],
|
||||||
37.478631492,
|
|
||||||
55.726709525
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -307,10 +252,7 @@
|
|||||||
"name": "Метро Пионерская",
|
"name": "Метро Пионерская",
|
||||||
"distance": "790 м",
|
"distance": "790 м",
|
||||||
"distanceValue": 789.69,
|
"distanceValue": 789.69,
|
||||||
"coordinates": [
|
"coordinates": [37.470052901, 55.733765425],
|
||||||
37.470052901,
|
|
||||||
55.733765425
|
|
||||||
],
|
|
||||||
"type": "common"
|
"type": "common"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -418,21 +360,11 @@
|
|||||||
"region": {
|
"region": {
|
||||||
"id": 213,
|
"id": 213,
|
||||||
"capitalId": 0,
|
"capitalId": 0,
|
||||||
"hierarchy": [
|
"hierarchy": [225, 1, 213],
|
||||||
225,
|
|
||||||
1,
|
|
||||||
213
|
|
||||||
],
|
|
||||||
"seoname": "moscow",
|
"seoname": "moscow",
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[37.0402925, 55.31141404514547],
|
||||||
37.0402925,
|
[38.2047155, 56.190068045145466]
|
||||||
55.31141404514547
|
|
||||||
],
|
|
||||||
[
|
|
||||||
38.2047155,
|
|
||||||
56.190068045145466
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"longitude": 37.622504,
|
"longitude": 37.622504,
|
||||||
"latitude": 55.753215,
|
"latitude": 55.753215,
|
||||||
@ -462,10 +394,7 @@
|
|||||||
"type": "region",
|
"type": "region",
|
||||||
"url": "https://yandex.ru/maps/213/moscow/",
|
"url": "https://yandex.ru/maps/213/moscow/",
|
||||||
"region": {
|
"region": {
|
||||||
"center": [
|
"center": [37.622504, 55.753215],
|
||||||
37.622504,
|
|
||||||
55.753215
|
|
||||||
],
|
|
||||||
"zoom": 10
|
"zoom": 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -476,21 +405,11 @@
|
|||||||
"region": {
|
"region": {
|
||||||
"id": 213,
|
"id": 213,
|
||||||
"capitalId": 0,
|
"capitalId": 0,
|
||||||
"hierarchy": [
|
"hierarchy": [225, 1, 213],
|
||||||
225,
|
|
||||||
1,
|
|
||||||
213
|
|
||||||
],
|
|
||||||
"seoname": "moscow",
|
"seoname": "moscow",
|
||||||
"bounds": [
|
"bounds": [
|
||||||
[
|
[37.0402925, 55.31141404514547],
|
||||||
37.0402925,
|
[38.2047155, 56.190068045145466]
|
||||||
55.31141404514547
|
|
||||||
],
|
|
||||||
[
|
|
||||||
38.2047155,
|
|
||||||
56.190068045145466
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
"longitude": 37.622504,
|
"longitude": 37.622504,
|
||||||
"latitude": 55.753215,
|
"latitude": 55.753215,
|
||||||
@ -532,14 +451,8 @@
|
|||||||
"id": "53211697",
|
"id": "53211697",
|
||||||
"seoname": "rayon_fili_davydkovo",
|
"seoname": "rayon_fili_davydkovo",
|
||||||
"kind": "district",
|
"kind": "district",
|
||||||
"coordinates": [
|
"coordinates": [37.469359, 55.727136],
|
||||||
37.469359,
|
"displayCoordinates": [37.469359, 55.727136],
|
||||||
55.727136
|
|
||||||
],
|
|
||||||
"displayCoordinates": [
|
|
||||||
37.469359,
|
|
||||||
55.727136
|
|
||||||
],
|
|
||||||
"encodedCoordinates": "Z04YcgFpSkAOQFtvfXtzdn1gYg=="
|
"encodedCoordinates": "Z04YcgFpSkAOQFtvfXtzdn1gYg=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"domain": "test_bad_version",
|
"domain": "test_bad_version",
|
||||||
"version": "bad"
|
"version": "bad"
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"domain": "test_no_version"
|
"domain": "test_no_version"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user