search game by publisher?
3 years ago

I was wondering if there is a way to search for games by publisher since you sometimes enter that info in the tags and i guess that could maybe be used for that. maybe there is a way to do it and I just overlooked it.

So yea what I mean in short could i search for speedgames from Bethesda for example?

Israel

There was an option in the past to search for games by filtering many options, but now it's not possible on the site. You can search for games like this with the API (although it's not really comfortable).

You first search the ID(s) of the publisher you want by this endpoint: https://www.speedrun.com/api/v1/publishers?max=200&offset=0 "max" is the maximum values to return in the query (can go up to 200), "offset" is the index to search from, and there is no way to search by name. The results are return in lexical order, so you can try several offsets until you hit the correct spot.

After getting the ID(s) you want (for example, 1ng0ym6l is "Bethesda" and kd6jv6p0 is "Bethesda Softworks"), You can search for games of that publisher by using this endpoint: https://www.speedrun.com/api/v1/games?publisher={id}

Games published by Bethesda: https://www.speedrun.com/api/v1/games?publisher=1ng0ym6l https://www.speedrun.com/api/v1/games?publisher=kd6jv6p0 (Search for the word "international", the game name will be right right after that)

Note that it isn't exact at all, because that search relies on the game moderators to actually enter something in the "publisher" tag, and game moderators from different games can enter the same publisher but with different names, like in our example above. For example, "The Elder Scrolls V: Skyrim" doesn't come up in that search.

Edited by the author 3 years ago
Gaming_64 and jannik323 like this

Thank you ! Why did they remove those search options ?

Israel

My guess is that the search option by name was never implemented in the first place. I assume the API endpoint for getting publishers is rarely used.

Gaming_64 likes this
Canada

Yeah there was never typing in names, there were just filters which were a bunch of checkboxes for every possible Publisher. The filtering options were removed because they made the All Games and series pages significantly slower, and were mostly useless. At some point in the future we'd like to overhaul that system and reintroduce it.

Edited by the author 3 years ago
Pear likes this