Perl Geo Coder TomTom

I installed the CPAN module to test some queries with Perl against TomTom but I am not getting back the requested location data.
I used my API key but the Response object comes back as:

Developer Inactive

Any ideas?


it uses a decommissioned service.
Current geocoder uses other path.
1 Like

So, Perl requests are just not supported anymore?
Is TomTom.pm no longer maintained?

Maintainer of this code didn’t update it to use a new endpoint.

1 Like

I tried “constructing” the new endpoint according to the API reference: ```
https:///search//geocode/.?key=<Your_API_Key>[&storeResult=][&typeahead=][&limit=][&ofs=][&lat=][&lon=][&countrySet=][&radius=][&topLeft=][&btmRight=][&language=][&extendedPostalCodesFor=][&view=][&mapcodes=][&entityTypeSet=]

But I am not sure what <query> should be, for starters... 
Is anyone using TomTom.pm successfully, perhaps after some "surgery" to its source code?

In query you need to put the address that you wish to geocode.
Example:

https://api.tomtom.com/search/2/geocode/4%20north%202nd%20street%20san%20jose.json?key=*****
1 Like

Thank you. When I find some time I will repair TomTom.pm and try and get it to do what it used to do before.

Good stuff!
Looks like I’ve managed to repair the Perl module and it works as it used to.
Who is responsible for the now unmaintained TomTom.pm on CPAN?
I am more than happy to tidy-up the surgery I did to it and submit to CPAN for other prospective users to find it working after doing: cpan[1]> install Geo::Coder::TomTom

Cheers!

That is out of TomTom. If I were you I would try to contact gray, who created this module, to make a PR to his code.


If it is not an option - https://www.cpan.org/modules/04pause.html#takeover

I actually sent that guy an email, right after responding to you here, last night.
I also added another method to TomTom.pm for calculateRoute.
Thanks for your feedback. I doubt I will be able to take over the modules’ maintenance, as I am responsible for too much code, already. I’ll just finish it on my source tree and use it for our project, only.