spotifywebapipython.models.zeroconfproperty

@export
class ZeroconfProperty:

Zeroconf Property object.

Information about a Zeroconf property.

ZeroconfProperty(name: str, value: str)

Initializes a new instance of the class.

Arguments:
  • name (str): Property name.
  • value (str): Property value.
Name: str

Property name.

Value: str

Property value.

def ToDictionary(self) -> dict:

Returns a dictionary representation of the class.

def ToString(self, includeTitle: bool = False) -> str:

Returns a displayable string representation of the class.

Arguments:
  • includeTitle (str): True to include the class name title prefix.