Skip to content

A telegram bot to ask for market prices for items at opskins.com

Notifications You must be signed in to change notification settings

nordcomputer/opskinsbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

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!