Crate ipify_rs

Source
Expand description

Ipify

My implementation of the ipify-cli.org API to get your own public IP address

The fastest way to use it is to use the myip() wrapper:

§Example:

use ipify_rs::myip;

println!("My IP is: {}", myip());

The full API is described below.

Structs§

Ipify
The main API struct

Enums§

Op
Enumeration for different types of operations provided by the Ipify API.

Functions§

myip
Minimalistic API