Hi!
I assisted a takeover and then made a request to https://api.turfgame.com/v4/feeds but there was no post on my assist. How do I get assist information? How do you, DIProgan, calculate Daily RIP for turfbridge when this data is not present in the api responses?
Assists
Re: Assists
Turfname is EQ
Re: Assists
Yes, it is the v5 api which has the new features for the past 6-8 years. https://api.turfgame.com/unstable But the endpoint is still /unstable
Re: Assists
Just ignore the unstable part, I have been using it for a few years just fine
BTW, the link is at the bottom of the v4 documentation, that's how I found it.
BTW, the link is at the bottom of the v4 documentation, that's how I found it.
Turfname is EQ
-
- Posts: 9
- Joined: 27 Apr 2013 17:17
- Country: Sweden
Re: Assists
The v5 seems a bit too unstable while v4 works fine for me.
https://api.turfgame.com/v4/feeds
Works fine!
https://api.turfgame.com/v5/feeds
Gives me a "<turf/>" or Status(406) error if I try to ask for JSON.
<!doctype html><html lang="en"><head><title>HTTP Status 406 – Not Acceptable</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 406 – Not Acceptable</h1></body></html> Error: Status(406); <!doctype html><html lang="en"><head><title>HTTP Status 406 – Not Acceptable</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 406 – Not Acceptable</h1></body></html>
How have you got it to work? Any special headers you are sending or something?
Best regards,
David, developer of T.R.U.F: https://truf.davidg.nu
https://api.turfgame.com/v4/feeds
Works fine!
https://api.turfgame.com/v5/feeds
Gives me a "<turf/>" or Status(406) error if I try to ask for JSON.
<!doctype html><html lang="en"><head><title>HTTP Status 406 – Not Acceptable</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 406 – Not Acceptable</h1></body></html> Error: Status(406); <!doctype html><html lang="en"><head><title>HTTP Status 406 – Not Acceptable</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 406 – Not Acceptable</h1></body></html>
How have you got it to work? Any special headers you are sending or something?
Best regards,
David, developer of T.R.U.F: https://truf.davidg.nu
-
- Posts: 9
- Joined: 27 Apr 2013 17:17
- Country: Sweden
Re: Assists
Ah! That was very unclear from all the links on the page pointing to /v5 . Thanks for the help!