See /types
for schema explanation.
Data maps to type GameToGuideMap
in ./types/games-v2.d.ts
.
Thie file maps PSNProfiles gameIds to a preferred guide:
- Featured guide on PSNProfiles game page (chosen at random by PSNProfiles)
- PowerPyx Guide to fill in PSNProfiles gaps
- PlayStation Trophies Guide to further fill in gaps
- PlatGet Guide to further fill in gaps
- Knoef Guide to further fill in gaps
- The
a
property is further explained in the Attributes section below. - The
p
property is provided when the source is not PSNProfiles. It can be combined with the appropriate root URL to access the guide.- When
.a & SOURCE_KNOEF
, the URL ishttps://knoef.info/${path}
- When
.a & SOURCE_PLATGET
, the URL ishttps://www.platget.com/${path}
- When
.a & SOURCE_PLAYSTATIONTROPHIES
, the URL ishttps://www.playstationtrophies.org/game/${path}
- When
.a & SOURCE_POWERPYX
, the URL ishttps://powerpyx.com/${path}
- When
- The
r
property is as follows:[difficulty, playthroughs, hours]
.- Some sources do not provide this information, so a -1 will be provided for unknown values.
See Attributes below for an explanation of the a
property.
Data maps to type GuideList
in ./types/guides-v2.d.ts
.
All guides indexed across all sources with pointers to PSNProfiles gameIds.
See explanations above for details of key properties.
Attributes are used to reduce size of JSON. They are bitwise flags that can be used to filter guides.
See types/attributes-v2.ts
for definitions.
They can be used as follows:
const isGuideForVitaTruthy = attributes & PLATFORM_VITA;
const isGuideForVitaBoolean = !!(attributes & PLATFORM_VITA);