Metadata-Version: 2.1
Name: livescraper
Version: 1.0.0
Summary: Python bindings for the Livescraper API
Home-page: 
Author: livescraper
Author-email: livescraper@gmail.com
License: MIT
Keywords: livescraper webscraper extractor google api maps search json scrape parser reviews google play
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: json

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"]
    )
