spotifywebapipython.spotifyapimessage
A class representing an exchange object between a client and the Spotify Web API.
Initializes a new instance of the class.
Arguments:
- methodName (str): Name of the client method that executed the request.
- uri (str): Target uri which should be queried.
- urlParameters (dict): Parameter values to be placed into the http request url, if the specified uri service requires it; otherwise, None.
- requestData (dict): Request data that is to be placed into the http request body, if the specified uri service requires it; otherwise, None.
- requestHeaders (dict): Request header that is to be placed into the http request headers, if the specified uri service requires it; otherwise, None.
Returns True if request data is present, and should be supplied as part of the http request body; otherwise, False.
Returns True if request headers are present, and should be supplied as part of the http request headers; otherwise, False.
Returns True if request json is present, and should be supplied as part of the http request body; otherwise, False.
Returns True if url parameters are present, and should be supplied as part of the http request url; otherwise, False.
Indicates if the RequestData
property is already encoded (True) or not (False).
Returns True if the response contains no data (e.g. a pass / fail response) and is not null; otherwise, False.
Returns True if the response contains no data (e.g. a pass / fail response); otherwise, False if the response requires further processing.
Request data that is to be placed into the http request body, if the specified uri service requires it.
Request header data that is to be sent with the http request body, if the specified uri service requires it.
Request data that is to be placed into the http request body, if the specified uri service requires it.
Response data returned from the server, if the specified uri returned a response that contains data.