Table of contents
GeoScraper Documentation
Introduction
GeoScraper is an advanced, efficient, and cost-effective tool designed for scraping data from Google Maps. With the capability to handle large volumes of requests at an unprecedented speed, it offers an economical solution for businesses and individuals needing extensive map data.
Key Features
- Fast Scraping Speed: Designed for high-speed data retrieval from Google Maps.
- Cost-Effective: Unlimited Scraping starting at 13.99 USD / Mo.
- User-Friendly: Simple and intuitive interface for all levels of users.
Getting Started
Prerequisites
- An active internet connection.
- Credits in the account.
Getting Started with GeoScraper API
This section provides a guide on how to begin using the GeoScraper API, including obtaining an access token and setting up your first request.
Obtaining an Access Token
To use the GeoScraper API, you need an X-Berserker-Token
, which is used for authenticating your requests.
- Register for an Account: Sign up for an account on the GeoScraper API platform.
- Generate Token: Once registered, navigate to the API settings or dashboard to generate your unique
X-Berserker-Token
.
Setting up Your Environment
Before making API requests, ensure you have a suitable environment:
- Python: The examples provided are in Python, so ensure you have Python installed.
- Requests Library: Install the Requests library for Python to facilitate API calls.
pip install requests
Making Your First API Request
After setting up your environment and obtaining your token, you can make your first API request.
- Choose an Endpoint: Decide which API endpoint you want to use (e.g., Google Map Single Place, Google Map Review, or Google Map Direction).
- Prepare the Request: Refer to the specific endpoint documentation for the correct request format.
- Send the Request: Use the Python
requests
library to send your request. - Handle the Response: Process the JSON response returned by the API.
Example
import requests
url = "https://api.geoscraper.net/google/map/place"
payload = {
"data_id": "0x89c259a61c75684f:0x79d31adb123348d2",
"hl": "en",
"catched": true
}
headers = {'X-Berserker-Token': 'Your_Access_Token'}
response = requests.post(url, headers=headers, json=payload)
print(response.text)
Replace Your_Access_Token
with the relevant endpoint, parameters, and your actual access token.
Support
For support, please contact our helpdesk via email at [email protected]