Hello:
I'm writing a script on perl to get ll's from a list of places, using Geo::GeoNames installed from CPAN (v 0.06). I have looked for a config file/parameter/place tu put my username on, but haven't found anything.
If i try to put username parameter when launching a search i get an error:
Code:
my $result = $geo->search(q => uri_escape($top_txt), country => "ES", maxRows => 5, username => 'xxx');
Invalid argument username at geonames.pl line 28
Of course, i can launch the search without username and it works (whenever the server is not overloaded).
Also, when inspecting the code i found that it is still conecting to ws.geonames.org instead of api.geonames.org
Is anyone working on a new version of the module?
Thanks!