<commit_before># skadisteam.login

A library to login into [steamcommunity.com](http://steamcommunity.com/) via a .net core wrapper.
This will not need an api key because it is using the methods which steam is providing via the web.

# TODO's

| Issue                                                          | Description                                    |
| -------------------------------------------------------------- | ---------------------------------------------- |
| [#1](https://github.com/igeligel/skadisteam.login/issues/1)    | Add time aligner to two factor code generator. |
| [#2](https://github.com/igeligel/skadisteam.login/issues/2)    | Add continuous integration.                    |
| [#3](https://github.com/igeligel/skadisteam.login/issues/3)    | Add unit and integration tests.                |

# Dependencies

- Newtonsoft.Json 9.0.1

# Installation

1. Make sure you have .net core installed. Head over to [dot.net](http://dot.net) to install .net core.

## Via a nuget package

> Work in progress

## Via class library

1. Clone the repo by using git or download it as .zip.
2. In your new project add the project to the global.json file like this:

  ```json
  {
     "projects": [ "src", "test", "../skadisteamlogin/src" ],
     "sdk": {
       "version": "1.0.0-preview2-003121"
     }
  }
  ```

  ```json
  "../skadisteamlogin/src"
  ```
  is the path to the project.

3. Add the reference to your project.json like this:
  ```json
  {
    "dependencies": {
      "Microsoft.NETCore.App": {
        "type": "platform",
        "version": "1.0.0"
      },
      "skadisteam.login": "1.0.0-*"
    }
  }
  ``` 

# How to use

At first you need to create the login data. The library will provide a model for this.
You can create an instance like this:
```csharp
var skadiLoginData = new SkadiLoginData {
    Username = "username",
    Password = "password",
    SharedSecret = "sharedSecret"
};
```<commit_msg>docs(readme)<commit_after># skadisteam.login

A library to login into [steamcommunity.com](http://steamcommunity.com/) via a .net core wrapper.
This will not need an api key because it is using the methods which steam is providing via the web.

# TODO's

| Issue                                                          | Description                                    |
| -------------------------------------------------------------- | ---------------------------------------------- |
| [#1](https://github.com/igeligel/skadisteam.login/issues/1)    | Add time aligner to two factor code generator. |
| [#2](https://github.com/igeligel/skadisteam.login/issues/2)    | Add continuous integration.                    |
| [#3](https://github.com/igeligel/skadisteam.login/issues/3)    | Add unit and integration tests.                |

# Dependencies

- "NETStandard.Library": "1.6.0"
- Newtonsoft.Json 9.0.1
- System.Security.Cryptography.Csp

# Installation

1. Make sure you have .net core installed. Head over to [dot.net](http://dot.net) to install .net core.

## Via a nuget package

> Work in progress

## Via class library

1. Clone the repo by using git or download it as .zip.
2. In your new project add the project to the global.json file like this:

  ```json
  {
     "projects": [ "src", "test", "../skadisteamlogin/src" ],
     "sdk": {
       "version": "1.0.0-preview2-003121"
     }
  }
  ```

  ```json
  "../skadisteamlogin/src"
  ```
  is the path to the project.

3. Add the reference to your project.json like this:
  ```json
  {
    "dependencies": {
      "Microsoft.NETCore.App": {
        "type": "platform",
        "version": "1.0.0"
      },
      "skadisteam.login": "1.0.0-beta"
    }
  }
  ``` 

# How to use

At first you need to create the login data. The library will provide a model for this.
You can create an instance like this:
```csharp
var skadiLoginData = new SkadiLoginData {
    Username = "username",
    Password = "password",
    SharedSecret = "sharedSecret"
};
```
{'fraction_non_alphanumeric': 0.1773623041940374, 'fraction_numerical': 0.015411824153612936, 'mean_word_length': 1.9325925925925926, 'pattern_counts': {'":': 17, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5840447', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1162, 'n_words': 369}