gamebench_api_client package

Subpackages

Submodules

gamebench_api_client.global_settings module

Global settings for the GameBench API Client.

gamebench_api_client.global_settings.get_username_and_password()[source]

Takes the username and password from global variable GAMEBENCH_CONFIG and returns it as a dictionary.

Returns:user_credentials: Dictionary of key username and value password from the global variable GAMEBENCH_CONFIG
gamebench_api_client.global_settings.set_api_endpoint()[source]

Concatenates the url and api_version to return the full api endpoint.

Return api_endpoint:
 concatenated string of the url and the api_version from the GAMEBENCH_CONFIG dictionary.

gamebench_api_client.singleton module

class gamebench_api_client.singleton.Singleton(*args, **kwds)[source]

Bases: object

Generic Singleton.

__init__(*args, **kwds)[source]

Initialize self. See help(type(self)) for accurate signature.

static __new__(cls, *args, **kwds)[source]

Create and return a new object. See help(type) for accurate signature.

Module contents