Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Nickwasused/FreeGamesonSteam
Searching SteamDB for Free Games and Activating them using ArchiSteamFarm
https://github.com/Nickwasused/FreeGamesonSteam
archisteamfarm free-games steam-api steambot webscraping
Last synced: 10 days ago
JSON representation
Searching SteamDB for Free Games and Activating them using ArchiSteamFarm
- Host: GitHub
- URL: https://github.com/Nickwasused/FreeGamesonSteam
- Owner: Nickwasused
- License: mpl-2.0
- Archived: true
- Created: 2020-05-13T15:55:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-25T18:41:50.000Z (almost 2 years ago)
- Last Synced: 2024-07-08T22:13:10.009Z (4 months ago)
- Topics: archisteamfarm, free-games, steam-api, steambot, webscraping
- Language: Python
- Homepage:
- Size: 218 KB
- Stars: 28
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# FreeGamesonSteam
[![Build Status](https://travis-ci.org/Nickwasused/FreeGamesonSteam.svg?branch=master)](https://travis-ci.org/Nickwasused/FreeGamesonSteam)Searching SteamDB for Free Games and Activating them using ArchiSteamFarm
# Status
A Workaround is being implemented.
(Currently broken See: https://github.com/Nickwasused/FreeGamesonSteam/issues/41)# Requirements
* Steam Web Api Key [here](https://steamcommunity.com/dev/apikey)
* ArchiSteamFarm running with IPC Enabled# Info
Python: 3.9
CPU-Tested: AMD64, ARM64# Important!
You need to enable the IPC interface.Put this in your ASF.json:
```
{
"IPC": true
}
```and
You need to edit the Config file: ```mv steamconfig.py.example steamconfig.py```
``` nano steamconfig.py ```
```
class config:
boturl = 'http://127.0.0.1:1242'
botip = '127.0.0.1'bots = ["main"]
fetch_games_url = "https://store.steampowered.com/search/?specials=1&maxprice=free"
# Get your Key here: https://steamcommunity.com/dev/apikey
steam_api_key = "ADD YOUR STEAM API KEY HERE"
```# Setup for Raspberry-Pi
1. You need ArchiSteamFarm running on ``` 127.0.0.1:1242 ```
2. Download the Script and Config: ```git clone [email protected]:Nickwasused/FreeGamesonSteam.git steam```
3. Go into the Directory ```cd steam```
4. Install Dependencies ```pip3 install -r requirements.txt```
5. Create the Service and timer file:
- Path: ``` /etc/systemd/system/steam.service```
- Content :
```
[Unit]
Description=Steam service
After=network.target
StartLimitIntervalSec=0[Service]
Type=simple
User=pi
ExecStart=/usr/bin/python3 /home/pi/steam/steam.py
WorkingDirectory=/home/pi/steam/[Install]
WantedBy=multi-user.target
```
- Path: ``` /etc/systemd/system/steam.timer```
- Content :
```
[Unit]
Description=Execute Steam[Timer]
OnCalendar=*-*-* 18:00:00
Unit=steam.service[Install]
WantedBy=multi-user.target
```
6. Enable and Start the Services:
- ``` sudo systemctl enable steam.service ```
- ``` sudo systemctl enable steam.timer ```
- ``` sudo systemctl start steam.service ```
- ``` sudo systemctl start steam.timer ```# Notice
The Service assumes that the Script is located here: ``` /home/pi/steam/steam.py ```
And the Service assumes that the Config is located here: ``` /home/pi/steam/steamconfig.py ```