Torn Faction Inventory Sum

Fetch and sum item quantities from the Torn API for a faction. Stores API key in local storage.

作者
-A-K-
今日安裝
0
安裝總數
4
評價
0 0 0
版本
1.2.1.1
建立日期
2025-01-31
更新日期
2025-02-01
尺寸
6.3 KB
授權條款
MIT
腳本執行於

🛡️ Torn Faction Inventory Sum

📌 Description
- This script fetches and sums the item quantities from your Torn faction inventory using the Torn API. It provides a detailed breakdown of item totals by category and displays the grand total in a structured format.

⚙️ Features
✅ Fetches inventory data from the Torn API
✅ Displays total quantities for each item category
✅ Shows the grand total inventory count
✅ Adds a button inside Torn’s UI to trigger the fetch
✅ Simple and easy-to-use interface
✅ Handles API errors and rate limits smoothly

📖 How to Use
1. Install this script via Greasy Fork using Violentmonkey/Tampermonkey.
2. Open Torn.
3. Click the "Fetch Inventory Sum" button in the left panel.
4. Enter your Torn API Key when prompted.
5. The script will fetch data and display the total items per category.

📝 Notes
- Requires a valid Torn Minimal Access API key with faction inventory access.
- Data fetching includes armor, boosters, caches, drugs, medical, temporary, and weapons.

📜 License & Compliance
- This script is not obfuscated and follows Greasy Fork’s rules.
- No copyrighted content is included.
- Uses only official Torn API endpoints for fetching data.

🌍 Localization
- This script is available in English (en-US).