dotnet-geo-management/Svrnty.GeoManagement.Tests/appsettings.Example.json

51 lines
1.1 KiB
JSON

{
"GoogleGeoManagement": {
"ApiKey": "YOUR_GOOGLE_API_KEY_HERE",
"Language": "en",
"Region": "ca"
},
"TestData": {
"ValidAddress": {
"Line1": "1600 Amphitheatre Parkway",
"Line2": null,
"City": "Mountain View",
"Subdivision": "CA",
"PostalCode": "94043",
"Country": "US"
},
"ValidGeoPoint": {
"Latitude": 37.4224764,
"Longitude": -122.0842499
},
"InvalidAddress": {
"Line1": "This is not a real address at all",
"Line2": null,
"City": "Fake City",
"Subdivision": "XX",
"PostalCode": "00000",
"Country": "Nowhere"
},
"OceanGeoPoint": {
"Latitude": 0,
"Longitude": -160
},
"ExpectedLatRange": {
"Min": 37.0,
"Max": 38.0
},
"ExpectedLongRange": {
"Min": -123.0,
"Max": -122.0
},
"AddressString": "1600 Amphitheatre Parkway, Mountain View, CA",
"NormalizeTestAddress": {
"Line1": "1600 Amphitheatre Pkwy",
"Line2": null,
"City": "Mountain View",
"Subdivision": "California",
"PostalCode": "94043",
"Country": "USA"
}
}
}