Open LordAshes opened 4 months ago
The library should ask if it is a game API key, or user API key, and also get the corresponding id. If it is a game API key, the URL should be g-GAMEID.modapi.io
. If it is a user API key, the URL should be u-USERID.modapi.io
.
api.mod.io
will be deprecated in the future, as it's easier for us to scale and manage the new API URL structure.
Mod.Io has moved away from using the common
api.mod.io
URL for API requests and instead have gone to using game specific URLs in the formatg-#.modapi.io
where#
is the game id. The current code seems to use the oldapi.mod.io
URL which is no longer supported and does not seem to have an obvious support for using a different URL.