nord-proxy

Crates.ionord-proxy
lib.rsnord-proxy
version0.1.0
created_at2026-01-12 16:57:15.378711+00
updated_at2026-01-12 16:57:15.378711+00
descriptionA Rust crate for retrieving NordVPN HTTP and SOCKS5 proxy endpoints for use with reqwest.
homepage
repository
max_upload_size
id2038190
size69,609
Frederik (frederik-uni)

documentation

README

Nord-Pproxy

nord-proxy is a Rust crate for retrieving NordVPN proxy endpoints (SOCKS5 and HTTP/HTTPS) and integrating them with reqwest.

Usage

use nord_proxy::{Proxy, Socks5, ProxyTrait};

// SOCKS5 proxies
let socks5 = Socks5::new().await;
let socks5_proxies = socks5.proxies("username", "password");

// HTTPS proxies
let proxy = Proxy::new().await;
let http_proxies = proxy.proxies("username", "password");

// Example: use with reqwest
let proxy_info = &http_proxies[0];
let client = reqwest::Client::builder()
    .proxy(reqwest::Proxy::all(proxy_info.url())?)
    .build()?;
Commit count: 0

cargo fmt