paquettg/leaguewrap — pull request #14 by danijoo (2014-06-16 12:57:32+00:00)
Title: Static calls have a region-independed endpoint

My last pull request had an error related to the static api calls.

According to the info page and some red posts, static calls wont be useable through regional endpoints once prod.api.pvp.net is down. Instead, it got its own endpoint: global.api.pvp.net

I stumbled over this once i realized getting static data for euw returns in a 401-status using the current version.

Source: https://developer.riotgames.com/docs/regional-endpoints