{"id":18053036,"url":"https://github.com/myomikron/dehashed-rs","last_synced_at":"2026-02-20T01:02:25.544Z","repository":{"id":185396043,"uuid":"673482191","full_name":"myOmikron/dehashed-rs","owner":"myOmikron","description":"A rust library for the dehashed API","archived":false,"fork":false,"pushed_at":"2025-04-14T00:56:13.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T08:29:05.211Z","etag":null,"topics":["api","async","dehashed","dehashed-api","rust","sdk"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myOmikron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2023-08-01T18:14:50.000Z","updated_at":"2025-04-14T00:51:52.000Z","dependencies_parsed_at":"2025-07-30T10:41:29.650Z","dependency_job_id":"326d908b-5d2f-4bab-9dca-cab06f89d027","html_url":"https://github.com/myOmikron/dehashed-rs","commit_stats":null,"previous_names":["myomikron/dehashed-rs"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/myOmikron/dehashed-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myOmikron%2Fdehashed-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myOmikron%2Fdehashed-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myOmikron%2Fdehashed-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myOmikron%2Fdehashed-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myOmikron","download_url":"https://codeload.github.com/myOmikron/dehashed-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myOmikron%2Fdehashed-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29637921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","async","dehashed","dehashed-api","rust","sdk"],"created_at":"2024-10-30T23:14:15.325Z","updated_at":"2026-02-20T01:02:25.506Z","avatar_url":"https://github.com/myOmikron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dehashed-rs\n\n[![LICENSE](https://img.shields.io/github/license/myOmikron/dehashed-rs?color=blue)](LICENSE)\n[![dependency status](https://deps.rs/repo/github/myOmikron/dehashed-rs/status.svg)](https://deps.rs/repo/github/myOmikron/dehashed-rs)\n[![ci status](https://img.shields.io/github/actions/workflow/status/myOmikron/dehashed-rs/linux.yml?label=CI)](https://github.com/myOmikron/dehashed-rs/actions/workflows/linux.yml)\n[![Docs](https://img.shields.io/docsrs/dehashed-rs?label=Docs)](https://docs.rs/dehashed-rs/latest/)\n\nThis is an SDK for the [dehashed](https://dehashed.com/) api.\n\n## Usage\n\n```rs\nuse dehashed_rs::*;\n\nlet email = \"test@example.com\".to_string();\nlet api_key = \"\u003capi_key\u003e\".to_string();\n\n// Create an api instance\nlet api = DehashedApi::new(email, api_key).unwrap();\n\n// Query for the domain example.com\nif let Ok(res) = api\n    .search(Query::Domain(SearchType::Simple(\"example.com\".to_string())))\n    .await\n{\n    println!(\"{res:?}\");\n}\n```\n\nor if you enable the `tokio` feature, you can utilize the scheduler to abstract\naway the need to manage get past the rate limit:\n\n```rs\nuse dehashed_rs::*;\nuse tokio::sync::oneshot;\n\nlet email = \"test@example.com\".to_string();\nlet api_key = \"\u003capi_key\u003e\".to_string();\n\n// Create an api instance\nlet api = DehashedApi::new(email, api_key).unwrap();\n// Create the scheduler\nlet scheduler = api.start_scheduler();\n\nlet tx = scheduler.retrieve_sender();\n\nlet (ret_tx, ret_rx) = oneshot::channel();\n\n// Schedule a query for the email \"test@example.com\"\ntx.send(ScheduledRequest::new(\n    Query::Email(SearchType::Simple(\"test@example.com\".to_string())),\n    ret_tx, \n))\n.await\n.unwrap();\n\n// Retrieve the result\nif let Ok(res) = ret_rx.await {\n    println!(\"{res:?}\");\n}\n```\n\nIf you need type definitions for utoipa, there available under the feature flag `utoipa`.\n\n## Note\n\n**This is not an official API**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyomikron%2Fdehashed-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyomikron%2Fdehashed-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyomikron%2Fdehashed-rs/lists"}