diggrtoolbox.platform_mapping package¶
Submodules¶
diggrtoolbox.platform_mapping.platform_mapping module¶
This file provides a class which
-
class
diggrtoolbox.platform_mapping.platform_mapping.
PlatformMapper
(dataset, sep=', ')[source]¶ Bases:
object
Reads in diggr plattform mapping file and provides a mapping dict
-
diggrtoolbox.platform_mapping.platform_mapping.
get_platform_mapping
(database, with_metadata=False)[source]¶ This function gets the platform mapping :param database: name of the video game database the mapping should be obtained for :param with_metadata: if set, a metadata block will be returned additionally, default: False :return: a dict with the mapping, and optionally a dict with the metadata