Skip to main content

Module services

Module services 

Source
Expand description

Small service objects that wrap RommClient for higher-level operations.

These are used by the CLI commands to keep a clear separation between "how we talk to ROMM" (HTTP) and "what we want to do" (list platforms, search ROMs, etc.).

Structs§

PlatformService
Service encapsulating platform-related operations.
RomService
Service encapsulating ROM-related operations.

Functions§

resolve_manual_collection_id
Resolve manual collection by numeric id or exact name (manual collections only).
resolve_platform_id
Resolve optional platform slug/name to a single RomM platform_ids value.
resolve_platform_id_from_list
Resolve a numeric platform ID, or match by slug / display name / custom name (same rules as the CLI).
resolve_platform_ids
Resolve several platform names/slugs to IDs (deduped, stable order).
resolve_smart_collection_id
Resolve smart collection by numeric id or exact name.