Lazarento Posted May 6, 2018 Share Posted May 6, 2018 Hey there! I would like to report something weird in the Items API, I used to make a Item call like this: https://www.divine-pride.net/api/database/item/4545?apiKey=API_KEY&server=bRO But then suddenly 2 days ago I believe it stopped working, so I was here debugging and removing the server parameter or replacing the value by kRO it works, so I guess at least with bRO is not working anymore, FYI I get this error: Quote The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. So I tried to specify the languague in order to get item descriptions in portuguese with the Accept-Language header set to pt-BR but it doesn't work either, it always give me english description. We use DivinePride API in a Discord Bot exclusive for my guild, I really would like to have that back working. Thank you so much! Link to comment Share on other sites More sharing options...
Dia Posted May 6, 2018 Share Posted May 6, 2018 I will check this. Link to comment Share on other sites More sharing options...
Dia Posted May 7, 2018 Share Posted May 7, 2018 It seems that the item is not available on bRO. https://www.divine-pride.net/database/item/4545 I can see data for cRO, euRO, iRO, kRO, kRO zero and twRO. That's why you are receiving a 404 with this data { "status": "nok", "reason": "Item not found" } The api seems to work without any problem: https://www.divine-pride.net/api/database/item/5017?apiKey=xxx&server=bRO returns the correct data. "name": "Elmo de Osso", "description": "Elmo pesado e resitente, feito de ossos e chifres. É difícil de ser colocado devido ao seu peso, mas é uma proteção muito forte. Ideal para ser usado em grandes batalhas.\r\n^0000ffAumenta em 15% o dano recebido por ataques de Propriedade Sombria.^000000\r\nClasse: ^777777Equipamento para a cabeça^000000\r\nDefesa: ^77777715^000000\r\nEquipa em: ^777777Topo^000000\r\nPeso: ^77777780^000000\r\nNível necessário: ^77777770^000000\r\nClasses que utilizam: ^777777Espadachim/ Mercador e as respectivas evoluções^000000", 1 Link to comment Share on other sites More sharing options...
Lazarento Posted May 8, 2018 Author Share Posted May 8, 2018 Hey Dia, thank you so much for your quick answer. Yeah, you're right. I just noticed that while I'm in bRO and if I search for "poring" I'll see some items that are not available in bRO like the 4545 (Novice Poring Card). Is that the expected behavior? Thanks. Link to comment Share on other sites More sharing options...
Dia Posted May 9, 2018 Share Posted May 9, 2018 Yes, that behavior is intended to not filter any item out just because your search server does not have it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now