Jump to content
Lazarento

Item API unavailable for bRO

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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",
 

 

  • Thanks 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Yes, that behavior is intended to not filter any item out just because your search server does not have it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...