Skip to main content

A Statistical Support package

Project description

GusPI

A package to include statistical supports.

Quick start

$ python3 -m pip install -U GusPI

GusPI.scraper

The scrape package provides an easy way to scrape Yelp business info and Yelp reviews for specific business.

from GusPI import scraper

Function 1 - YelpBizInfo The function collects business info and save it into a csv file.

#Example

#declare a list: https://www.yelp.com/biz/`artisan-ramen-milwaukee`
CUISINES = ['artisan-ramen-milwaukee','red-light-ramen-milwaukee-5']

#scrape the business info
scraper.YelpBizInfo(CUISINES)

Function 2 - YelpReview The function collects reviews for respective business and save them into separate files by business names.

#Example

#declare a list: https://www.yelp.com/biz/`artisan-ramen-milwaukee`
CUISINES = ['artisan-ramen-milwaukee','red-light-ramen-milwaukee-5']

#scrape the business info
scraper.YelpReview(CUISINES)

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

GusPI-0.0.8.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

GusPI-0.0.8-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

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