{"id":51049578,"url":"https://github.com/bigdatacloudapi/bigdatacloud-rust","last_synced_at":"2026-06-22T16:02:21.584Z","repository":{"id":365279761,"uuid":"1207451559","full_name":"bigdatacloudapi/bigdatacloud-rust","owner":"bigdatacloudapi","description":"Official Rust SDK for BigDataCloud APIs — IP Geolocation, Reverse Geocoding, Phone \u0026 Email Verification, Network Engineering","archived":false,"fork":false,"pushed_at":"2026-04-11T01:20:54.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T18:09:19.034Z","etag":null,"topics":["api-client","bigdatacloud","crates","geolocation","ip-geolocation","network-engineering","reverse-geocoding","rust","sdk"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigdatacloudapi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-11T00:45:31.000Z","updated_at":"2026-04-11T22:36:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bigdatacloudapi/bigdatacloud-rust","commit_stats":null,"previous_names":["bigdatacloudapi/bigdatacloud-rust"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bigdatacloudapi/bigdatacloud-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigdatacloudapi%2Fbigdatacloud-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigdatacloudapi%2Fbigdatacloud-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigdatacloudapi%2Fbigdatacloud-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigdatacloudapi%2Fbigdatacloud-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigdatacloudapi","download_url":"https://codeload.github.com/bigdatacloudapi/bigdatacloud-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigdatacloudapi%2Fbigdatacloud-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34655723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","bigdatacloud","crates","geolocation","ip-geolocation","network-engineering","reverse-geocoding","rust","sdk"],"created_at":"2026-06-22T16:02:19.417Z","updated_at":"2026-06-22T16:02:21.579Z","avatar_url":"https://github.com/bigdatacloudapi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BigDataCloud Rust SDK\n\n[![Crates.io](https://img.shields.io/crates/v/bigdatacloud)](https://crates.io/crates/bigdatacloud)\n[![Docs.rs](https://docs.rs/bigdatacloud/badge.svg)](https://docs.rs/bigdatacloud)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\nOfficial Rust SDK for [BigDataCloud](https://www.bigdatacloud.com) APIs. Strongly-typed client for IP Geolocation, Reverse Geocoding, Phone \u0026 Email Verification, and Network Engineering.\n\n## Installation\n\nAdd to your `Cargo.toml`:\n\n```toml\n[dependencies]\nbigdatacloud = \"1.0.0\"\n```\n\n## API Key\n\nGet a free API key at [bigdatacloud.com/login](https://www.bigdatacloud.com/login). No credit card required.\n\n```bash\nexport BIGDATACLOUD_API_KEY=your-key-here\n```\n\n## Quick Start\n\n```rust\nuse bigdatacloud::Client;\n\nfn main() {\n    // Reads BIGDATACLOUD_API_KEY from environment\n    let client = Client::from_environment().unwrap();\n\n    // IP Geolocation\n    let geo = client.ip_geolocation.get(Some(\"1.1.1.1\"), \"en\").unwrap();\n    let loc = geo.location.unwrap();\n    let country = geo.country.unwrap();\n    println!(\"{}, {}\", loc.city.unwrap_or_default(), country.name.unwrap_or_default());\n\n    // Reverse Geocoding\n    let place = client.reverse_geocoding.reverse_geocode(-33.87, 151.21, \"en\").unwrap();\n    println!(\"{}, {}\", place.city.unwrap_or_default(), place.country_name.unwrap_or_default());\n\n    // Phone Validation — country code is required\n    let phone = client.verification.validate_phone(\"+61412345678\", \"AU\").unwrap();\n    println!(\"Valid: {}, Type: {}\", phone.is_valid.unwrap_or_default(), phone.line_type.unwrap_or_default());\n\n    // Email Verification\n    let email = client.verification.verify_email(\"user@example.com\").unwrap();\n    println!(\"Valid: {}, Disposable: {}\", email.is_valid.unwrap_or_default(), email.is_disposable.unwrap_or_default());\n}\n```\n\n## Confidence Area\n\nThe `confidence_area` field may encode multiple polygons. Use the helper:\n\n```rust\nuse bigdatacloud::confidence_area::split_into_polygons;\n\nlet geo = client.ip_geolocation.get_with_confidence_area(Some(\"1.1.1.1\"), \"en\").unwrap();\nlet points = geo.confidence_area.as_deref().unwrap_or(\u0026[]);\nlet polygons = split_into_polygons(points);\nfor (i, ring) in polygons.iter().enumerate() {\n    println!(\"Ring {}: {} points\", i + 1, ring.len());\n}\n```\n\n## Available APIs\n\n| Client | Methods |\n|--------|---------|\n| `client.ip_geolocation` | `get`, `get_with_confidence_area`, `get_full`, `get_country_by_ip`, `get_country_info`, `get_all_countries`, `get_hazard_report`, `get_user_risk`, `get_asn_info`, `get_network_by_ip`, `get_timezone_by_iana_id`, `get_timezone_by_ip`, `parse_user_agent` |\n| `client.reverse_geocoding` | `reverse_geocode`, `reverse_geocode_with_timezone`, `get_timezone_by_location` |\n| `client.verification` | `validate_phone`, `validate_phone_by_ip`, `verify_email` |\n| `client.network_engineering` | `get_asn_info_full`, `get_receiving_from`, `get_transit_to`, `get_bgp_prefixes`, `get_networks_by_cidr`, `get_asn_rank_list`, `get_tor_exit_nodes` |\n\n## Running Examples\n\n```bash\nexport BIGDATACLOUD_API_KEY=your-key-here\ncargo run --example ip_geolocation\ncargo run --example reverse_geocoding\ncargo run --example verification\ncargo run --example network_engineering\n```\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigdatacloudapi%2Fbigdatacloud-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigdatacloudapi%2Fbigdatacloud-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigdatacloudapi%2Fbigdatacloud-rust/lists"}