Skip to content

LocationIQ provider update from deprecated endpoint #1153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 27, 2022

Conversation

Brew-Chris
Copy link
Contributor

LocationIQ have sent out emails to customers informing them that LocationIQ are deprecating the following API endpoints from 1st June 2022:

The LocationIQ API documentation mention the two acceptable endpoints:

The LocationIQ Geocoder provider uses https://locationiq.org/v1 so it needs updating before 1st June 2022 or this provider will stop working.

This pull request is an update to the domains by way of a 3rd parameter to the constructor for "region". It will default to using "us1" but it will also accept "eu1"

The updated files in ./cached_responses are a result of running the tests with the new endpoint URL

…eing deprecated on 1st June 2022 (+1 squashed commits)
Tiny update to the LocationIQ provider update to resolve reported code style error
Copy link
Member

@jbelien jbelien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks @Brew-Chris 👍

…ded a new LocationIQ test for the new Exception
Copy link
Member

@jbelien jbelien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last remark! 👍

@Brew-Chris
Copy link
Contributor Author

Sorry to bump but this pull request needs merging in and releasing within the next week or the LocationIQ provider will stop working on 1st June 2022.

@jbelien
Copy link
Member

jbelien commented May 24, 2022

Thanks for the reminder!
I'll take care of it end of this week.

@jbelien jbelien merged commit 3bb7298 into geocoder-php:master May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants