woob.capabilities.address

class GeoCoordinates(id='', url=NotLoaded, backend=None)[source]

Bases: BaseObject

Variables:
  • url – (str) url

  • latitude – (Decimal) Latitude

  • longitude – (Decimal) Longitude

  • altitude – (Decimal) Altitude

class PostalAddress(id='', url=NotLoaded, backend=None)[source]

Bases: BaseObject

Variables:
  • url – (str) url

  • street – (str) Street address

  • postal_code – (str) Postal code

  • city – (str) City

  • region – (str) Region

  • country – (str) Country

  • country_code – (str) ISO 3166-1 alpha-2 country code

  • full_address – (str) Full address if detailed address is not available

compat_field(field, sub)[source]