https://github.com/nordcomputer/opskinsbot
A telegram bot to ask for market prices for items at opskins.com
https://github.com/nordcomputer/opskinsbot
chatbot chatbots crypto cryptocurrency games opskins opskins-api python python3 telegram telegram-bot trading wax waxon2018
Last synced: about 1 month ago
JSON representation
A telegram bot to ask for market prices for items at opskins.com
- Host: GitHub
- URL: https://github.com/nordcomputer/opskinsbot
- Owner: nordcomputer
- Created: 2018-05-31T00:11:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T22:58:04.000Z (over 6 years ago)
- Last Synced: 2023-10-06T09:36:48.051Z (over 2 years ago)
- Topics: chatbot, chatbots, crypto, cryptocurrency, games, opskins, opskins-api, python, python3, telegram, telegram-bot, trading, wax, waxon2018
- Language: Python
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Opskins-Searching Telegram Bot
Script to create a Telegram-Search-Bot for Opskins.com
With the bot, you can search for different virtual items in different games including images from the items and get their prices in USD and WAX (calculated with
the value from coinmarketcap.com)
Dependencies:
- Python 3 and the different modules (install via pip: ```pip install python-telegram-bot```)
- OPSkinskey (How to get one: You need an account at opskins.com - there you can generate your key at Account->Advanced Options)
- Your telegram bot with token (How to get one: https://core.telegram.org/bots#6-botfather )
- Coinmarketcap API-Key (How to get one: https://coinmarketcap.com/api/)
- Coinmarketcap Sandbox-API-Key (How to get one: https://sandbox.coinmarketcap.com/)
Installation:
- copy the script into the desired location
- Rename or copy sample-credentials.py to credentials.py and add your OPSkinskey, coinmarketcap-api/coinmarketcap-sandbox-api and your Telegram-Bot-Token
- make sure, your dependencies are installed
- activate or deactivate the coinmarketcap-sandbox in credentials.py
Start the script (depending on your python installation):
- ```python opskins-searchbot.py``` or ```python3 opskins-searchbot.py```
Usage:
- send /games to get a list of supported games and choose one
- search for an item (just type the name of the item)
- use the buttons to get the current market price
Comment:
Still in Alpha-state and a very messy code - but I'm going to work on that the next days. But the WAX-Bounty-Program (for what this project was coded) ends in a short time, so I was in a little hurry ;).
Latest updates:
- Coinmarketcap API v2 (API-key needed, since v1 is deprecated and will shut down soon)
- changed the authorization method
- integrated an individual file for authorization
- gamelist is now generated in a better way
- pictures!