TornPDA Integration

Access Torn Targets data directly from TornPDA with our custom script!

📱

📋 Installation Guide

1

Get Your API Key

Login to generate your API key.

Login First
2

Download the Script

Download our custom TornPDA script or copy it directly.

3

Add to TornPDA

1. Open TornPDA app
2. Go to Settings → Scripts
3. Tap "Add Script" button
4. Paste the script and give it a name
5. Replace YOUR_API_KEY_HERE with your actual API key

4

Configure Script Settings

Set the script to run on Torn pages, specifically:
• Profile pages (profiles.php)
• Attack pages (loader.php?sid=attack)
• Or set it to run on all Torn pages for maximum convenience

✨ Features

  • Quick target information lookup
  • Battle stats display
  • Real-time status updates
  • Faction information
  • Last action timestamp
  • Direct link to full target info

🎮 How It Works

  • Visit any Torn profile or attack page
  • Click the "🎯 Check Target" button
  • View target stats in a popup
  • Information updates automatically
  • Popup auto-closes after 30 seconds

📝 Script Preview

...

// Full script continues...
// Download to see complete code

🔌 API Endpoints

The script uses these Torn Targets API endpoints:

GET /api/v1/target?id={torn_id}

Get information about a specific target

GET /api/v1/search?q={query}&type={name|faction}

Search for targets by name or faction

GET /api/v1/targets?level_min={min}&level_max={max}

Get filtered list of targets

GET /api/v1/stats

Get overall statistics

💡 Need Help?

If you encounter any issues or have questions about the TornPDA integration: