As we've been discussing in #50, it could be useful to not always hit the shazam "GB" endpoint, but use another country. That discussion shows that the data returned is different depending on which one you use. This patch makes that configurable when you create a shazam instance. Like this:
shazam = Shazam(endpoint_country="US")
And then you use it like normal. The default for the new parameter is "GB", leaving the old behavior intact.
Also worth saying I haven't extensively tested this, just enough to make sure it works for my case of calling shazam.track_about and getting back ID numbers that I can lookup in the iTunes store API.
As we've been discussing in #50, it could be useful to not always hit the shazam "GB" endpoint, but use another country. That discussion shows that the data returned is different depending on which one you use. This patch makes that configurable when you create a shazam instance. Like this:
And then you use it like normal. The default for the new parameter is "GB", leaving the old behavior intact.