horizon_torn_getFactionGeneric
Fetch faction selections from the Torn API using IDs, categories, stats, time ranges, and filters. Optionally strip HTML tags or use legacy responses.
Instructions
Get any Faction selection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | selection id | |
| to | No | Timestamp that sets the upper limit for the data returned. Data returned will be up to and including this time | |
| cat | No | Selection category | |
| key | No | API key (Public).<br>It's not required to use this parameter when passing the API key via the Authorization header. | |
| from | No | Timestamp that sets the lower limit for the data returned. Data returned will be after this time | |
| sort | No | Sorted by the greatest timestamps | |
| stat | No | Stat category | |
| limit | No | ||
| legacy | No | Legacy selection names for which you want or expect API v1 response | |
| offset | No | ||
| comment | No | Comment for your tool/service/bot/website to be visible in the logs. | |
| filters | No | ||
| striptags | No | Determines if fields include HTML or not ('Hospitalized by <a href=...>user</a>' vs 'Hospitalized by user'). | |
| timestamp | No | Timestamp to bypass cache or get the data in specific point in time | |
| selections | No | Selection names |