Location

class vbbpy.location.Address(inputStr: str, geopyUserAgent: str = 'vbbpy: address lookup')

The Address class contains information about a physical address or place.

city = ''
cords = None
getCords(inputStr: str, userAgent: str) None

Gets the coordinates and address information for a address encoded in a string.

Parameters
  • inputStr – a string containing the address or place

  • userAgent – a user agent to use when requesting address information

Returns

None

name = ''
number = 0
postalCode = 0
streetName = ''
class vbbpy.location.Coordinates(lat, long)

The Coordinates class contains floats encoding coordinates.

latitude = 0
longitude = 0