Whole Foods
Whole Foods Store Details API
One Whole Foods Market store by id: name, status, phone, Prime eligibility, opening date, address, coordinates, time zone, and its store page and weekly sales flyer URLs. Costs 1 credit per request.
POST/api/v1/wholefoods/store
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonstore_idstringrequired5-digit Whole Foods store id. Find ids with /api/v1/wholefoods/stores.
Example: 10160
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
s = client.whole_foods.store(store_id="10160")["data"]
print(s["name"], s["status"], s["address"], s["city"], s["state"], "Prime:", s["prime_eligible"])Response
"store_id": "10160",
"name": "Columbus Circle",
"status": "Open",
"phone": "2128239600",
"prime_eligible": true,
"opened_at": "2019-10-23",
"address": "10 Columbus Circle",
"city": "New York",
"state": "NY",
"zip": "10019-1232",
"country": "United States of America",
"latitude": 40.767867,
"longitude": -73.982573,
"time_zone": "America/New_York",
"folder": "cir",
"url": "https://www.wholefoodsmarket.com/stores/cir",
"sales_flyer_url": "https://www.wholefoodsmarket.com/sales-flyer?store-id=10160"
},
"response_time": 682
}