I'm still looking for a solution to this.
And I've just run into another obstacle: game jam entries don't seem to expose a game slug anywhere (they use game IDs instead). Because of that, the username/game-slug approach doesn't work for game jam pages.
I wish there were a simple endpoint like itch.io/games/game-id/data.json that returned a game's public metadata.