chore(README.md): update readme
This commit is contained in:
parent
ea192308d9
commit
349a08f11f
56
README.md
56
README.md
@ -21,15 +21,57 @@ COD Tracker provides a clean interface to fetch, display, and export Call of Dut
|
||||
|
||||
- [Node.js](https://nodejs.org/) (v14.x or higher)
|
||||
- npm (comes with Node.js)
|
||||
- Call of Duty account with API security settings set to "Open"
|
||||
- Call of Duty account with API security settings set to "ALL"
|
||||
|
||||
## Authentication Setup
|
||||
<!-- <div align="center">
|
||||
<img src="https://img.shields.io/badge/IMPORTANT-Authentication_Required-red" alt="Authentication Required"/>
|
||||
</div> -->
|
||||
### Changing Account API Privacy Settings
|
||||
|
||||
1. Log in to [Call of Duty](https://profile.callofduty.com)
|
||||
2. Open developer tools (F12)
|
||||
3. Navigate to: Application → Storage → Cookies → https://www.callofduty.com/
|
||||
4. Copy the value of `ACT_SSO_COOKIE`
|
||||
5. Provide this value when prompted by the tool
|
||||
To use this application, you need to update your Call of Duty profile settings:
|
||||
|
||||
1. Log in to [Call of Duty](https://profile.callofduty.com/cod/profile)
|
||||
2. Navigate to the **Privacy & Security** tab
|
||||
3. Scroll down to **Game Data and Profile Privacy** section
|
||||
4. Set the following options to **ALL**:
|
||||
- Game Tag Searchable
|
||||
- Game Play Data
|
||||
|
||||
### Obtaining Your SSO Token
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="60%">
|
||||
|
||||
The application requires an authentication token to access the Call of Duty API:
|
||||
|
||||
1. Log in to [Call of Duty](https://profile.callofduty.com/cod/profile)
|
||||
2. Open developer tools (F12 or right-click → Inspect)
|
||||
3. Navigate to: **Application** → **Storage** → **Cookies** → **https://profile.callofduty.com**
|
||||
4. Find and copy the value of `ACT_SSO_COOKIE`
|
||||
5. Paste this token into the "SSO Token" field
|
||||
|
||||
> ⚠️ **Note**: Your SSO token is sensitive information. Never share it publicly.
|
||||
|
||||
</td>
|
||||
<td width="40%">
|
||||
|
||||
```
|
||||
Application
|
||||
└─ Storage
|
||||
└─ Cookies
|
||||
└─ Find
|
||||
ACT_SSO
|
||||
```
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### Token Expiration
|
||||
|
||||
The SSO token typically expires after 24 hours. If you encounter authentication errors, repeat Step 2 to obtain a fresh token.
|
||||
|
||||
## Installation
|
||||
|
||||
@ -40,7 +82,7 @@ COD Tracker provides a clean interface to fetch, display, and export Call of Dut
|
||||
|
||||
2. Start the application:
|
||||
```bash
|
||||
node app.js
|
||||
npm run start
|
||||
```
|
||||
|
||||
3. Open your browser and navigate to:
|
||||
|
Loading…
x
Reference in New Issue
Block a user