Giter Club home page Giter Club logo

steamtradingservices's Introduction

#Steam Trading Services

This project contains a number of services for steam trading which can process or create work queues.

##Trade-Exchange Trade-Exchange can be run as a service or the class can be instantiated and you can control its functionality more closely.

Trade-Exchange will accept, decline and create trades. Running the command-line tool "trade-exchange" (Use the --help option to configuration options) will connect to a local rabbitmq and redis server and start processing trade requests.

###Auth The system connects to redis to gain authentication details, any trade-exchange node can access any account in the redis database, therefore you do not have to specify which trade-exchange node processes which request.

Auth details should be stored with the steamid64 of the account as the key, the value should be a json string in the following format:

{
    "api_key": "<YOUR API KEY>",
    "sessionid": "<YOUR SESSION ID COOKIE>",
    "steamLogin": "<YOUR STEAM LOGIN COOKIE>",
    "steamLoginSecure": "<YOUR STEAM LOGIN SECURE COOKIE>",
    "steamMachineAuth<STEAMID64>": "<YOUR STEAM MACHINE AUTH COOKIE>", #The cookie name is suffixed with steamid64
    "steamRememberLogin": "<YOUR STEAM REMEMBER LOGIN COOKIE>"
}

Please note: Secure your redis database, this is very sensitive information which you do not want exposed! The cookies can be gathered from your browser. Due to steam restrictions it takes a week for trades to be enabled. Please plan ahead for your accounts, the last thing you want is to need more accounts and have to wait a week to use them.

###Queue Processing To send a request, publish to the exchange named "tradeProcess". Use the following routing keys:

accept - These requests will be accepted
decline - These requests will be declined/cancelled
create - These requests will be created

Both accept and decline require the following json strings:

{
    "steamid64": "<STEAM ID 64>", #ID of your account, not the other user
    "trade_offer_id": "<ID OF TRADE OFFER>"
}

Create trade requires the following json string:

@TODO

steamtradingservices's People

Contributors

gtb3nw avatar

Watchers

James Cloos avatar Sam Buckingham avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.