https://github.com/jjangsangy/nordvpn/blob/master/nordvpn/api.py
'address': '/user/address',
'config': '/files/zipv2',
'nameserver': '/dns/smart',
'server': '/server',
'stats': '/server/stats',
'user': '/user/databytoken'
list of all NordVPN servers:
https://api.nordvpn.com/server
0
id 98288
ip_address "103.236.151.2"
search_keywords []
categories […]
name "Indonesia #2"
domain "id2.nordvpn.com"
price 0
flag "ID"
country "Indonesia"
location
lat -6.174444
long 106.829444
load 55
features
ikev2 true
openvpn_udp true
openvpn_tcp true
socks true
proxy true
pptp false
l2tp false
openvpn_xor_udp false
openvpn_xor_tcp false
proxy_cybersec true
proxy_ssl true
proxy_ssl_cybersec true
return my current IP
https://api.nordvpn.com/user/address
https://api.nordvpn.com/files/zipv2 downloads a config.zip file (some 20 MB) full of .ovpn files, for each server, with PKI key to connect to the server
https://api.nordvpn.com/dns/smart returns a list of IPs, probably of the NordVPN dns server
https://api.nordvpn.com/user/databytoken
https://bitbucket.org/nordial/nordapi/overview here you find how to login into API :
https://bitbucket.org/nordial/nordapi/raw/dd4e918e84b66a7842cbbf2262ad4019ead2e877/nordtoy.py
Friday, September 14, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment