-
Notifications
You must be signed in to change notification settings - Fork 55
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
NordVPN API Deprecation and Update Required #57
Comments
I'm not the owner of the repository but I'm a python programmer too, I'm going to try to solve this problem in the api, this repository is incredible I'm using it every day I can't be without it |
good news :} ! I managed to solve the deprecated api problem using the new API you provided: https://api.nordvpn.com/v1/servers As you said, the output of this new endpoint is different, I solved it with the help of Chatgpt, I preferred to use its help for speed reasons alone it would take a few days solo I created a request pool If you need it urgently, just go to my profile and download the fork called NordVPN-switcher_teste |
That's awesome, thanks mate! I also use the repository quite regularly. I will check it out later. |
Sorry fellas, I'll try and update the package during the weekend! Thanks for providing the solution; this saves me some time. |
You're welcome, but there's no need to say thank you, we're together s2 :} |
Thank you very much, we are looking forward to this fix, no need to thank us, I appreciate this package is amazing :}, don't worry, we understand s2 :} |
ualers: I have been looking at your profile, but I can't find the file you mention with that exact name. Your response would be very helpful, and thank you in advance. |
Issue:
The old NordVPN API endpoint https://nordvpn.com/api/server has been deprecated and now returns {"status": "deprecated"}. As a result, the program is currently not functioning properly.
New API:
NordVPN has introduced a new API endpoint: https://api.nordvpn.com/v1/servers. However, the JSON output from this endpoint appears to be different from the previous one, and simply changing the endpoint does not make the script functional.
Additional Endpoints:
Other potentially useful endpoints include:
https://api.nordvpn.com/v1/servers/recommendations
https://api.nordvpn.com/v1/servers/countries
https://api.nordvpn.com/v1/helpers/ips/insights
Attributes:
By default, these endpoints will only return 100 entries.
To retrieve more entries, you can use the limit attribute. For example: https://api.nordvpn.com/v1/servers?limit=1000
There is also a filters attribute, but I'm unsure about how it works. There might be information available online.
Personal Request:
If you get the time to update this repository, that would be awesome. It would be greatly appreciated. Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: