gamebench_api_client.api.requests_retriever.builder.attributes package¶
Submodules¶
gamebench_api_client.api.requests_retriever.builder.attributes.attributes_creator module¶
-
class
gamebench_api_client.api.requests_retriever.builder.attributes.attributes_creator.
Attributes
(**request_parameters)[source]¶ Bases:
object
Class that determines the request’s attributes - headers, params, data.
Parameters: request_parameter – Dictionary provided by the user. -
__init__
(**request_parameters)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
get_data
()[source]¶ Determines which data should be used for the request.
In the case of auth requests, this is the username and password of the GameBench account. For other requests it will include the information provided by the user, or an empty string if nothing was provided.
Returns: A Dictionary containing either the username and password, or the data key and its value.
-