Skip to content

sonika-serpapi/visualizing-amazon-search-data-using-python-examples

Repository files navigation

visualizing-amazon-search-data-using-python-examples

Code examples for blog post: Visualizing Amazon Search Data Using Python

You can read the blog post here: https://serpapi.com/blog/visualizing-amazon-search-data-using-python/


Getting Started With Using SerpApi

You can use our APIs in multiple languages, but for the purposes of this blog post, I''ve used Python.

To begin scraping data, first, create a free account on serpapi.com. You'll receive one hundred free search credits each month to explore the API.

Get your SerpApi API Key from this page: https://serpapi.com/manage-api-key. [Optional but Recommended]

Set your API key in an environment variable, instead of directly pasting it in the code. For this tutorial, I have saved the API key in an environment variable named "SERPAPI_API_KEY" in my .env file.

Next, on your local computer, you need to install the google-search-results Python library: pip install google-search-results


Run The Code

Run the code files using python <filename>


Sample Outputs

Example 1: example 1 Example 2: example 2

Example 3: example 3

About

Code examples for blog post: Visualizing Amazon Search Data Using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages