Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Living-lab-Maps

Verify Places Ids

This endpoint checks if the provided place IDs already exist in the database. Its purpose is to prevent duplication of data. It returns only the place IDs that do not exist in the database, allowing you to query and save their details without duplicating existing data.

Get Place Details

After verifying the place IDs, you can send them to this endpoint to query the data from Google. The response will contain the most important details needed to display or save, and it will be structured in a specific format. The response is divided into "successful_results" and "failed_results," indicating which queries were successful and which encountered errors.

Saving Details

Once you have successfully obtained the place details, you can send them to this endpoint to save them in the Dowell MongoDB. This allows you to store the data for later use, such as plotting or other purposes.

Get Local Nearby Locations

This endpoint is used to retrieve locations from the Dowell database that meet certain criteria specified in the payload. The input includes two radii, which define the distance range. By comparing the center location in the payload with each location in the database using the Haversine distance formula, the API returns the locations that fall within the specified distance range. These locations can be plotted on a Google Map to provide the user with nearby options.

Please note that the detailed technical specifications and usage of each endpoint can be found in the provided link to the API documentation.

About

Living Lab Maps API services by DoWell

Resources

Stars

15 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors