That's a very interesting way itch does it. Looks very simple. Thanks for the detailed answer.
Socke81
2
Posts
1
Topics
A member registered Apr 18, 2021
Recent community posts
itch.io Community » itch.io » Questions & Support · Created a new topic How to read user_id or email on client?
Hi, I am planning to release a game on itch.io this year. Since it is a multiplayer game I just looked at the API. I would have to check on my server if a user owns the game. For this I can use the server API and the URL https://itch.io/api/1/KEY/game/GAME_ID/purchases . As parameter I can use email or user_id. user_id would be ideal but how do I get the user_id in my game so that I can forward it to my server? Or does the user have to enter it himself? That would be very uncomfortable.