https://github.com/shellrow/ipstruct-rs
Rust client library for the IPStruct API (Free IP Info, Country, ASN, ISP)
https://github.com/shellrow/ipstruct-rs
Last synced: about 1 year ago
JSON representation
Rust client library for the IPStruct API (Free IP Info, Country, ASN, ISP)
- Host: GitHub
- URL: https://github.com/shellrow/ipstruct-rs
- Owner: shellrow
- License: mit
- Created: 2024-03-29T15:51:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T14:25:17.000Z (about 2 years ago)
- Last Synced: 2025-03-08T14:02:42.303Z (over 1 year ago)
- Language: Rust
- Homepage: https://ipstruct.com
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[crates-badge]: https://img.shields.io/crates/v/ipstruct.svg
[crates-url]: https://crates.io/crates/ipstruct
[license-badge]: https://img.shields.io/crates/l/ipstruct.svg
[examples-url]: https://github.com/shellrow/ipstruct-rs/tree/main/examples
[doc-url]: https://docs.rs/ipstruct/latest/ipstruct
[ipstruct-github-url]: https://github.com/shellrow/ipstruct-rs
# ipstruct [![Crates.io][crates-badge]][crates-url] ![License][license-badge]
Rust client library for accessing the ipstruct.com Web API. With this library, you can easily retrieve information related to public IP addresses. It supports both IPv4 and IPv6, and provides asynchronous and synchronous request capabilities.
## Key Features
- Retrieve information related to public IP addresses.
- Public IP Address
- Country
- ASN
- AS Name (ISP or network operator)
- Supports both IPv4 and IPv6.
- Provides asynchronous and synchronous request capabilities.
- Proxy support with customizable options (default or user-specified).
## Usage
Add `ipstruct` to your dependencies
```toml:Cargo.toml
[dependencies]
ipstruct = "0.2.0"
```
For more details, see [examples][examples-url] or [doc][doc-url].