bartervg / barter.vg

Track and hold discussion on Barter.vg bugs, enhancements, and other issues
https://barter.vg
MIT License
20 stars 4 forks source link

`platform` vs `platform_id` in JSON #309

Open ialarmedalien opened 1 year ago

ialarmedalien commented 1 year ago

Description

There is inconsistent use of the tag used to define the platform within a game's JSON data.

In pages like the tradelist, wishlist, and library, the tag used is platform_id. However, on offer pages, it's called platform, and on the game info pages, it's source_id. Would it be possible to synchronise the nomenclature?

Revadike commented 1 year ago

v2 api when? ah, never

ialarmedalien commented 1 year ago

It won't fix problems with inconsistent naming within the db, but there is https://github.com/dbohdan/automatic-api for easy ways to spin up an API.

Making the code for the whole barter.vg website open source might also enable people who are interested in improving functionality (like myself) to contribute directly to the site, instead of writing userscripts to hack on what exists.