Open lbr88 opened 7 years ago
Wooooah dude. How did you find that?
Trial and error basically. I was making a shell script and systemd service file to easily download and update ovpn configs. Unfortunately i discovered it after i made my script. I just found this also: https://bitbucket.org/nordial/nordapi/src/dd4e918e84b66a7842cbbf2262ad4019ead2e877/nordtoy.py?at=master&fileviewer=file-view-default don't know how much of it works or not. Edit: Doesn't look like any of those works.
Good research. I haven't found any of these and I did all I could to avoid parsing HTML.
Maybe it's better for you case: https://nordvpn.com/api/server/stats
Yeah, maybe. I'm not maintaining this so you're welcome to fork and use the correct API.
How on earth do people find these undocumented API endpoints?
Now that's seemingly the only way to get access to that vital information, since those asshats at NordVPN decided to replace the HTML server list with useless marketing copy.
Trial and error, or maybe sniffing the nordvpn windows client which uses the api heavily.
@lbr88 well, you and @bguidolim solved a pretty pressing problem of mine by finding it and taking the time share it, so thanks a lot for that.
An easier way is looking into the iOS/Android app with the help of https://mitmproxy.org/
Just wanted to mention briefly that thanks to those endpoints @lbr88 and @bguidolim posted I was able to write a little script which works beautifully for finding the fastest NordVPN servers: https://github.com/mrzool/nordvpn-server-find
Hmm seems like the list of IPs is not updated from https://nordvpn.com/api/server
Not really and issue/bug but just wanted to let you know that you could fetch the servers from the API here in JSON format: https://nordvpn.com/api/server