Preferred (and currently the only supported) installation method is docker.
-
create telegram bot by talking to BotFather and note your access token
-
get your chat id by talking to @get_id_bot and using the "/my_id" command
-
create configuration.ini like this example file
-
now start the docker container with the following command (replace path/to/folder/which/contains/configuration.ini with the folder in which you have your configuration.ini)
docker run -d --name agentibus --restart unless-stopped --shm-size=2g -v path/to/folder/which/contains/configuration.ini:/gamedeals/resources juligreen/agentibus-g2a
The --shm-size=2g flag makes the host share memory with the container which prevents Chrome from crashing. See this link.
Finished features:
-
check if a game has at least 1000 ratings on steam (less relevant for bundles)
-
compare prices with G2A
-
message you on Telegram, when there is a certain profit margin by selling the game on G2A
TODOs:
-
test cases
-
proper logging
Features I might implement:
You are free to reuse this code in other projects (so long as you distibute source code with binarys) as stated by the GPL License but I’d be very happy if you would message me at julius<dot>dehner<at>gmail<dot>com and tell me what you’re using it for, just because I’m very curious :)
This project uses:
-
Schedule - huge thanks to Dan Bader for this awesome library and his great python books!
Note
|
This project has been set up using PyScaffold 3.0.3. For details and usage information on PyScaffold see http://pyscaffold.org/. |