Socket
Book a DemoInstallSign in
Socket

local-guides-client

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

local-guides-client

Unofficial client library to fetch contribution data for Google Maps Local Guides

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Local Guides Client

This is an unofficial client library to fetch contribution data for Google Maps Local Guides, such as points, amounts of reviews and photos, and more. It parses the Google Maps HTML source code of your public profile and requires no authentication.

This package is based on the google-local-guides-api by @JinKim7 (which sadly does not get maintained anymore) and introduces additional features and bugfixes.

Usage

Install the package:

npm install local-guides-client

Following code fetches data of the Local Guide profile with the profile ID 112307346288942529735.

const lgclient = require('local-guides-client');

lgclient.fetchData("112307346288942529735").then(data => {
    console.log(data);
});

Output:

{
    "name": "Joe",
    "level": 9,
    "points": 50219,
    "reviews": 352,
    "ratings": 73,
    "photos": 3652,
    "videos": 8,
    "answers": 946,
    "edits": 1618,
    "placesAdded": 748,
    "roadsAdded": 1,
    "factsChecked": 73,
    "qa": 11,
    "publishedLists": 1,
    "photoViews": 19698543
}

Keywords

google contributions

FAQs

Package last updated on 21 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.