Skip to content
TORNLIFE More

Api Not Working Again???

Started by Phillip_J_Fry [2184575] on in API Development.

6 replies · 110 views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 7 / 7 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
7
Discussion span
→
People posting
4
Likes on archived posts
0
Authority score
51 / 100
Historical score
18 / 100
Story score
24 / 100
Engagement score
45 / 100
Phillip_J_Fry [2184575]

 

 So I'm working in discord with this bot and my API

Making Custom commands

Then they stop working

Nothing is wrong with bot

Is the API down again ?????
shro [1332742]

Works for me now, but hard to say what it was doing when you were testing.

You can quickly check api.torn.com and curl.  https://api.torn.com runs on one of torn's servers and so it works when cloudflare is blocking requests.  That's why I try both the api page first and then curl after I see the api page working.

curl 'https://api.torn.com/user/?key=<your key here>'
MurderCityDan [2099841]

For item market use: https://api.torn.com/market/?selections=itemmarket&key=yourAPIkey

For items use: https://api.torn.com/torn/?selections=items&key=yourAPIkey