Neutrino API Rust client using the Reqwest HTTP and Serde JSON libraries
The official API client and SDK built by NeutrinoAPI
Feature | |
---|---|
Platform Version | >= 1.41 |
HTTP Library | Reqwest |
JSON Library | Serde |
HTTP/2 | No |
HTTP/3 | No |
CodeGen Version | 4.6.16 |
First you will need a user ID and API key pair: SignUp
use neutrino_api_client_reqwest::NeutrinoAPIClient;
fn main() {
let client = &mut NeutrinoAPIClient::new(
"<your-user-id>",
"<your-api-key>",
);
}
$ cargo run --example="ip_info"
You can find examples of all APIs in examples/
Set the 'your-user-id' and 'your-api-key' values in the example to retrieve real API responses