1.0.4 • Published 9 months ago

google-place-detail-lib v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Google Place Detail Library

A simple Node.js library to fetch Google Place details using the Google Place ID.

Disclaimer: This library is not an official Google product and is not endorsed by or affiliated with Google in any way. Use it at your own risk.

Installation

To install the library, run the following command:

npm install google-place-detail-lib

Usage

To use the library, follow the example below:

ES Module

import googlePlaceDetail from 'google-place-detail-lib';

const placeId = 'ChIJN1t_tDeuEmsRUsoyG83frY4'; // Example Google Place ID
const language = 'en'; // Example language code

googlePlaceDetail(placeId, language)
    .then(details => {
        console.log(details);
    })
    .catch(error => {
        console.error(error);
    });

Contact

For any inquiries, please contact me at: hammadfromksa@gmail.com

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago