itch.io Spring Selects Series A
On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Get Itch.io member username (login) to set player name

A topic by Anto80 created Nov 04, 2019 Views: 877 Replies: 3
Viewing posts 1 to 3

Hello,

Is there a way to use Itch installer (itch-setup.exe) to auto-detect the Itch.io member username (login) ?

Is there an API ?

(I would like to use this to init ingame player name, to be used in leader boards)

Thanks

Admin(+1)

You can request the scope profile:me in your app manifest described on this page: https://itch.io/docs/itch/integrating/manifest-actions.html (see API key & scoping)

In your game you can make an http request to https://itch.io/api/1/jwt/me with the provided API key.

There’s a little tutorial on the link I gave above. Hope that helps

Thanks for your reply I will check all this.

(+2)

I believe that I have done what I need to do to get the user's API key available as a JWT for use with `profile:me` and am checking my environment and not finding the ITCHIO_API_KEY key.

Does anybody have/know of an example app that uses the API that I could look at to see a known working example?

Admin moved this topic to Questions & Support
This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.