TeamFortressOutpostApi by igeligel
A .net core class library which reverse engineered the HTTP API of TF2 Outpost.
Dependency | Version |
---|---|
AngleSharp | 0.9.9 |
Newtonsoft.Json | 10.0.2 |
To install just you need to have .net core installed.
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 TeamFortressOutpostApi
or search for TeamFortressOutpostApi
in your nuget feed.
This project just gives you one API endpoint which is usable.
First you need to create instance of the TeamFortressOutpostApiClient
.
var teamFortressOutpostApiClient = new TeamFortressOutpostApiClient();
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.
To contribute please lookup the following styleguides:
Mainly i created this functionality for a friend who wanted to automate some trading at TF2 Outpost. Since i believe it is useful to someone else i decided to publish it.
The general Workflow is shown in this diagram:
This is the basic structure of the OpenId Login via Steam to TF2 Outpost.
TeamFortressOutpostApi is realeased under the MIT License.
igeligel Contributions: 14 |
---|