Skip to content

Missing actual name in BoardGameVersion #57

@arnauldvm

Description

@arnauldvm

The current name property in BoardGameVersion class is what is actually called "nickname" in the web site.

(For example, the main name for game 41052 is "Loco Motive", but the name of the version 337221 is "Tokyo Train" while its nickname is "Cocktail Games French edition".)

Unfortunately, the actual name ("Tokyo Train" in the example) is not returned by the BGG XMLAPI2 (it returns "Cocktail Games French edition"). And the legacy API does not help for this problem.

The only way I could find to be able to retrieve this information is through a hidden :-( API.
E.g.:
https://api.geekdo.com/api/geekitem/linkeditems?ajax=1&linkdata_index=boardgameversion&nosession=1&objectid=41052&objecttype=thing&pageid=1&showcount=10&sort=yearpublished&subtype=boardgameversion
returns:

// ...
{
    "yearpublished": "2013",
    // ...
    "linktype": "boardgameversion",
    "objecttype": "version",
    "objectid": "337221",
    // ...
    "linkedname": "Tokyo Train",
    "links": {
        // ...
        "languages": [
            {
                "name": "French",
                // ...
            }
        ]
    },
    "href": "\/boardgameversion\/337221\/cocktail-games-french-edition",
    "versionname": "Cocktail Games French edition",
    "images": {
        // ...
    }
},
// ...

(See also: https://boardgamegeek.com/thread/1616315/getting-structured-game-version-and-publisher-data.)

Though, I'm really not sure if using undocumented (and even less supported) API's is in the scope of this project... :-/

?? Or should I start a side project ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions