Skip to main content

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

itch-rewards: Automating community copies

A topic by billiam created May 30, 2021 Views: 682
Viewing posts 1 to 1
(1 edit)

I have community copy rewards set up for my app, based on tips (purchases above the minimum price). If somebody adds a $5 tip on a $5 game, I add one community copy to the reward pool.

My app has changed price a couple of times, so figuring out how many copies should be in the pool is kind of a pain, and purchase information and reward updating are not available in the itch api.

To that end, here is a commandline app I’m now using to automatically update a reward for a game, based on sales data:

https://github.com/billiam/itch-community-rewards

It can update a reward’s amount and description based on tips as above, or a number of free copies for each purchase, or ensuring a minimum number of copies are always available. Lots more information in the project readme above.

Community copies box showing reward count and percentage until next copy as a progress bar.

Note: Since sales data and reward updating are not available through the itch API, this app, and the underlying library, uses screen scraping, and requires a username and password. These aren’t saved, but a file with cookie data is. All project code is open source, so feel free to dig around.