rubensayshi / gw2spidy

GW2Spidy - Guild Wars 2 Tradingpost Graphs
http://www.gw2spidy.com
231 stars 86 forks source link

Map the Rarity "Basic" back to the old "Common" #155

Closed keneanung closed 10 years ago

keneanung commented 10 years ago

This change is needed due to the fact that the old TP-API used "Common" as second lowest rarity type. The v2 API however uses "Basic".

I also forgot to mention that we now check the http code that is returned and cancel the operation, if an exit code different than 200 is returned.