This page demonstrates geolocation detection to test the country and geolocation parameters.
This page will attempt to detect your geolocation using various methods and display the results.
This section uses the browser's Geolocation API to determine your location:
This section uses IP-based geolocation to estimate your location:
When testing the screenshot service with this page:
country parameter in your screenshot request to specify a geographic location.geolocation parameter to specify exact coordinates.POST /v1.0/screenshot
{
"url": "http://localhost:8000/geolocation",
"format": "png"
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/geolocation",
"format": "png",
"country": "US"
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/geolocation",
"format": "png",
"geolocation": "40.7128,-74.0060"
}