Skip to main content

Python bindings for the Livescraper API

Project description

Livescraper Python Library

The library provides convenient access to the Livescraper API <https://livescraper.com/api-doc.html>__ from applications written in the Python language. Allows using Livescraper’s services <https://livescraper.com/services>__ from your code.

API Docs <https://livescraper.com/api-doc.html>__

Installation

Python 3+

.. code:: bash

pip install livescraper

Link to the python package page <https://pypi.org/project/livescraper/>__

Initialization

.. code:: python

from livescraper import ApiClient

scraper = livescraper(api_key)

Link to the profile page to create the API key <https://app.livescraper.com/user-profile>__

Scrape Google Maps (Places)

.. code:: python

Search for businesses in specific locations:

results = scraper.google_maps_search( queries=["Restaurants in Alakanuk, AK, United States"], language="en", region="DE", dropduplicates="True", enrichment="True", fields=["business_website","business_phone"] )

Scrape Google Maps Reviews

.. code:: python

Get reviews of the specific place

results = scraper.google_review_search( queries=["real estate agents in Los Angeles, CA"], language="en", region="DE", dropduplicates="True", enrichment="True", fields=["query","business_name"] )

Scrape Emails And Contacts

.. code:: python

Get emails and contacts

results = scraper.google_email_search( queries=["https://en.wikipedia.org/wiki/SA" ], language="en", region="DE", dropduplicates="True", enrichment="False", fields=["serial"] )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

livescraper-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livescraper-1.0.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file livescraper-1.0.0.tar.gz.

File metadata

  • Download URL: livescraper-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for livescraper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d4146e153c1fcc6000d7e1efc08fa9bd3d61fd2b71f22e266879016237754ca0
MD5 6d363ede675cf9fd52e195eb8b751d94
BLAKE2b-256 816a08cbd45b8d14f85cd2132e62cc683dd24033d4b8132e4eb6cb6ab3bf95bd

See more details on using hashes here.

File details

Details for the file livescraper-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: livescraper-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for livescraper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ed2fe8f9b5489a17fd041d0c0236b78b733ca3d6bf4627789ead57b1590d3d3
MD5 762b591f46f1933819a791330af9bc15
BLAKE2b-256 cb28a6aa4736a619cca662bcedbba7ddb261e16c12bbaf2ac36af58cb375965a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page