URL
Scrape any Menards URL of your choice.
You can get Menards results by providing your own URLs to our service using the menards source. The API returns the HTML for any Menards page you like.
Currently, our API only provides HTML output for this page type. However, you can easily build your own parser if you would like to get JSON-structured data.
Request samples
The samples below illustrate how you can get Menards pages.
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "menards",
"url": "https://www.menards.com/main/company-information/about-us/online-only-deals/c-1642874284327517.htm"
}'import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'menards',
'url': 'https://www.menards.com/main/company-information/about-us/online-only-deals/c-1642874284327517.htm'
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload
)
# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.
Request parameter values
Generic
- mandatory parameter
Localization
Adapt results based on store locations.
store_id
Specify a store ID. For example, 3045 from the store's URL: /store.html?store=3045.
-
String
Last updated
Was this helpful?

