URnetwork
Copyright 2024 BringYour, Inc.
A list of locations and groups where there are at least one active provider in good health. Note that a location or group will need to be mapped to an actual provider using /network/find-providers.
/network/find-providers
const response = await fetch('https://api.bringyour.com/network/provider-locations', { method: 'GET', headers: {}, }); const data = await response.json();
{ "specs": [ { "location_id": "text", "location_group_id": "text", "client_id": "text", "best_available": false } ], "groups": [ { "location_group_id": "text", "name": "text", "provider_count": 0, "promoted": false, "match_distance": 0 } ], "locations": [ { "location_id": "text", "location_type": "city", "name": "text", "city": "text", "city_location_id": "text", "region": "text", "region_location_id": "text", "country": "text", "country_location_id": "text", "country_code": "text", "provider_count": 0, "match_distance": 0 } ], "devices": [ { "client_id": "text", "device_name": "text" } ] }