Um, my friend told me that the API endpoint doesn't provide the names.
@Staff, can this be moved into suggestions or should I make a new one ?
Get chain report with chain ID from API
-
Thread created on 14:55:33 - 06/12/21 (2 years ago)|Last replied 03:57:22 - 29/12/21 (2 years ago)Hi!
So, a recent change in the faction chain report page has made the names of the players in the chain report unavailable when using honor bars. I could get only IDs of the members involved in the chain. So I was wondering if there is a way to get the names and IDs of members in chain.
Thank You.Yes. Yes. No. Yes. Yes.
-
-
Posted on 15:01:27 - 06/12/21 (2 years ago)Post link copied to clipboard Copy post linkUm, my friend told me that the API endpoint doesn't provide the names.
@Staff, can this be moved into suggestions or should I make a new one ?Yes. Yes. No. Yes. Yes.
-
-
Posted on 16:28:45 - 26/12/21 (2 years ago)Post link copied to clipboard Copy post linkThe names can be collected with a second call https://api.torn.com/faction/?selections=basic&key=Last edited by LouBaker on 16:30:34 - 26/12/21
-
-
Posted on 19:50:01 - 26/12/21 (2 years ago)Post link copied to clipboard Copy post linkThis is not entirely true. People that are no longer in the faction are not included, thus you would be missing names.
-
-
- CRLF [2095076]
- Role: Civilian
- Level: 94
- Posts: 11,752
- Karma: 37,473
- Last Action: 1 year
Posted on 03:57:22 - 29/12/21 (2 years ago)Post link copied to clipboard Copy post linkYou can get the names by calling user:
https://api.torn.com/user/12345?selections=&key=apikey
where 12345 is the userid and apikey is your api key
You can simplify it further by setting selections = basic