Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Requesting Help with API

A topic by tinjaw created Dec 02, 2019 Views: 320 Replies: 3
Viewing posts 1 to 3

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

What platform/engine/language are you using?

I am testing on Windows with a custom Python (pygame) application. I have created the toml, compiled using PyInstaller. Pushed to itch. Updated my app through itch app. Run my app. It prints out every key in the environment and ITCHIO_API_KEY isn't listed.

(1 edit)

More Info: If I generate and use an API key (instead of JWT) my code works.

This raises the question, Do I need to run my program from the itch.io app for it to use the manifest and provide a JWT? (vice, running the EXE directly from the installed directory)