Skip to content
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

How to use the dedicated EU base URL #39

Closed
hqiu-at-wiris opened this issue Dec 13, 2021 · 2 comments
Closed

How to use the dedicated EU base URL #39

hqiu-at-wiris opened this issue Dec 13, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@hqiu-at-wiris
Copy link

We have seen in a recent update that you are introducing a dedicated EU base URL. Will you modify the library to be able to use this endpoint?

@lpellegr lpellegr self-assigned this Dec 13, 2021
@lpellegr lpellegr added enhancement New feature or request question Further information is requested labels Dec 13, 2021
@lpellegr
Copy link
Contributor

lpellegr commented Dec 13, 2021

Good question. You can already configure the Ipregistry client to use the new base URL as follows:

from ipregistry import IpregistryClient, IpregistryConfig
client = IpregistryClient(IpregistryConfig("YOUR_API_KEY", "https://eu.api.ipregistry.co"))

We will update the documentation and probably introduce a new parameter in the IpregistryClient constructor to simplify the usage (i.e. avoid creating an instance of IpregistryConfig) but the method presented above will continue to work.

@hqiu-at-wiris
Copy link
Author

Thank you for such a quick response! We have already tried it and it works fine for us.

lpellegr added a commit that referenced this issue Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants