Skip to content

▶️ A .NET core library to handle the login to Backpack.tf. Backpack.tf is a trading site for Team Fortress 2, Counter-Strike: Global Offensive, and Dota 2. Community item pricing, item trading and stats, and much more.

License

igeligel/BackpackLogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BackpackLogin by igeligel

badge Donate badge Donate badge Donate badge License

Description

A .net standard class library which reverse engineered the HTTP API of Backpack.tf. It will enable you to login easily via giving your Steam credentials to the client and it will let you login.

Dependencies

Since this library is a .net standard library you need to install .net core or .net framework > 4.6.1 to use this software.

Dependency Version
AngleSharp 0.9.9
Newtonsoft.Json 10.0.2
.net standard 1.4

Installation

To install just you need to have to install a .net version:

.NET >= 4.6.1
.NET Standard >= 1.4

You can install this package via nuget or locally. Try to reference it as package in your .csproj file or install it via:

PM> Install-Package BackpackLogin

or search for BackpackLogin in your nuget feed.

How To Use

This project just gives you one API endpoint which is usable.

First you need to create instance of the BackpackLoginClient.

var backpackLoginClient = new BackpackLoginClient();

After this you can call a function called Login with the parameters:

  • username
  • password
  • sharedSecret

After the function gets invoked the login process will begin and the function will return the uhash and Cookies which are needed for API requests.

Examples

Contributing

To contribute please lookup the following styleguides:

Resources

Motivation

Mainly i created this functionality for a friend who wanted to automate some trading at Backpack.tf. Since i believe it is useful to someone else i decided to publish it.

Architecture

The general Workflow is shown in this diagram:

Workflow

This is the basic structure of the OpenId Login via Steam to Backpack.tf.

Contact

Discord server of Kevin Peters Twitter of Kevin Peters Steam Profile of Kevin Peters

License

BackpackLogin is realeased under the MIT License.

Contributors


igeligel

Contributions: 19

This readme is powered by vue-readme

Check out vue-readme [Website | GitHub]

About

▶️ A .NET core library to handle the login to Backpack.tf. Backpack.tf is a trading site for Team Fortress 2, Counter-Strike: Global Offensive, and Dota 2. Community item pricing, item trading and stats, and much more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages