Skip to main content

Summarizing the Google Maps attributes of places within a specified area

Project description

Places Summarized

Build Status License: MIT

Places Summarized is a wrapper around Google Maps' Places API that summarizes the attributes of the locations nearby the specified coordinate.


Install Places Summarized via pip using

$ pip install places-summarized


  • A Google Maps API key.
  • Python 3


This example uses a Google Maps API key.

import pprint
from places_summarized.client import Client

pp = pprint.PrettyPrinter(indent=4)

client = Client(key='your-key')
# Google Sydney offices
summary = client.places_summary(location=(-33.8670522, 151.1957362), radius=1000)
# Print the ratings of the locations of type "point_of_interest."
# You can find the full list of types
# at:
# Print the average price level of all the places

Or, you can test it without a key, using the TestClient.

import pprint
from places_summarized.fake_client import FakeClient

pp = pprint.PrettyPrinter(indent=4)

fclient = FakeClient()
summary = fclient.places_summary()


TO DO... :/ maybe you want to help?


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

places-summarized-0.1.1.tar.gz (45.9 kB view hashes)

Uploaded source

Built Distribution

places_summarized-0.1.1-py3-none-any.whl (14.3 kB view hashes)

Uploaded py3

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