Giter Club home page Giter Club logo

google-maps-2csv's Introduction

Google Maps Data Extraction

This Python script automates the extraction of place data from Google Maps. It retrieves information about places based on location and search keywords, handles pagination, and saves results to a CSV file for easy analysis.

Overview

The script performs the following tasks:

  1. Fetches place data from Google Maps using location and search keywords.
  2. Handles pagination to retrieve multiple pages of search results.
  3. Extracts relevant details such as place names, addresses, websites, phone numbers, and opening hours.
  4. Saves the extracted data into a CSV file.

Features

  • Location-Based Search: Retrieves data based on latitude, longitude, and zoom level.
  • Keyword Search: Searches for places matching a specified keyword (e.g., "restaurants", "colleges").
  • Pagination Support: Handles multiple pages of results.
  • Data Extraction: Extracts details including names, addresses, websites, phone numbers, and opening times.
  • CSV Export: Saves the collected data in a CSV file for further analysis.

Requirements

  • Python 3.x
  • Required Python libraries:
    • requests
    • pandas
    • re (standard library)
    • json (standard library)
    • math (standard library)

Install the required libraries using pip:

pip install requests pandas

google-maps-2csv's People

Contributors

tkhan11 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.