npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

google-maps-review-scraper

v1.0.3

Published

A review scraper made for google maps

Downloads

51

Readme

YasogaN

Frameworks/Technologies


Installation

Install with npm

  npm install google-maps-review-scraper

Install with yarn

  yarn add google-maps-review-scraper

Usage/Examples

import { scraper } from "google-maps-review-scraper"

const reviews = await scraper("url", "sort_type", "search_query")

Arguments

url - string: A google maps place url as explained here

sort_type - string: The sort parameter ("relevent", "newest", "highest_rating", "lowest_rating").

search_query - string: Search query to search in reviews (optional)

Returns

reviews - Promise<JSON>: A promise that resolves to a JSON object containing the reviews.


Documentation of API's/URL's used

All documentation related to API's and URL's used in this project can be found in the docs folder divided into endpoints for API's and urls for URL's. Note that everything included here was based on my reasearch, so errors could be present. A pull request is always welcome (see contributing)


License

This project is licensed under the GNU Affero General Public License v3.0 only - see the LICENSE file for details.

Summary of AGPL-3.0-only

The GNU Affero General Public License (AGPL) is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.

Key Permissions and Conditions:

  • Freedom to use: You may use the software for any purpose.
  • Freedom to study: You have the freedom to study how the software works and make changes to it.
  • Freedom to share: You can redistribute copies of the original software.
  • Freedom to contribute: You must release the source code of your version and your modifications to others when you distribute the software or if you operate it as a service over a network.
  • No additional restrictions: You cannot impose additional restrictions on the rights granted by the license.

Requirements:

  1. Source Code Availability: You must provide access to the source code of your modifications when you distribute the software.
  2. Network Use Disclosure: If you make the software available over a network, you must also provide the source code to users interacting with it remotely.
  3. No Warranty: The software is provided "as is", without warranty of any kind.

For more detailed information, please refer to the AGPL-3.0 license text.


Contributing

I welcome contributions from the community! Please see our CONTRIBUTING.md for details on how to contribute to this project.


Code of Conduct

Please note that this project is governed by a Code of Conduct. By participating, you are expected to uphold this code.


Acknowledgements

Special thanks to @marin-m for his outstanding work on the pbtk repository. His contributions and insights on protocol buffers were invaluable in my research and development process.


Legal Disclaimer

This project is not affiliated with, endorsed by, or associated with Google LLC or any of its products and services. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Purpose of the Project

This project was created with the primary intent of serving as an educational tool and proof of concept. The objectives include:

  • Educational Use: To provide a hands-on learning experience in developing software, using APIs, and understanding the integration of various technologies. The project is intended to help developers, students, and enthusiasts enhance their skills and knowledge.
  • Proof of Concept: To demonstrate the feasibility and potential of certain technical approaches and solutions. This includes showcasing how different APIs and tools can be utilized together in a functional application.

Non-Commercial Nature

This project is non-commercial and is not intended for any form of profit generation or business use. It is shared openly with the community to foster learning and collaboration.

Intellectual Property and Fair Use

We acknowledge and respect the intellectual property rights of Google and other third parties. Any content used from external sources is credited appropriately, and no proprietary data or materials are misused.

Contact and Legal Concerns

If you have any concerns or questions regarding the legality of this project, any specific legal queries or issues, please seek professional legal advice.