Map API Wrapper

This documentation explains the methods of the Map object. For the specific fields on the objects returned by these methods, see the official documentation.

class penn.map.Map(bearer, token)[source]

The client for the Map Search API.

Parameters:
  • bearer – The user code for the API
  • token – The password code for the API

Usage:

>>> from penn import Map
>>> n = Map('MY_USERNAME_TOKEN', 'MY_PASSWORD_TOKEN')
search(keyword)[source]

Return all buildings related to the provided query.

Parameters:keyword – The keyword for your map search
>>> results = n.search('Harrison')