{"id":18616522,"url":"https://github.com/davidask/bankid-rs","last_synced_at":"2025-11-03T06:30:38.492Z","repository":{"id":251597041,"uuid":"425348101","full_name":"davidask/bankid-rs","owner":"davidask","description":"BankID client written in Rust","archived":false,"fork":false,"pushed_at":"2022-01-16T21:25:56.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-27T03:25:42.757Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidask.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-11-06T21:04:10.000Z","updated_at":"2023-10-03T00:50:09.000Z","dependencies_parsed_at":"2024-08-04T11:12:13.002Z","dependency_job_id":null,"html_url":"https://github.com/davidask/bankid-rs","commit_stats":null,"previous_names":["davidask/bankid-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidask%2Fbankid-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidask%2Fbankid-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidask%2Fbankid-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidask%2Fbankid-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidask","download_url":"https://codeload.github.com/davidask/bankid-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239412505,"owners_count":19634016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T03:35:33.632Z","updated_at":"2025-11-03T06:30:38.429Z","avatar_url":"https://github.com/davidask.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bankid-rs\n\nA [BankID](https://www.bankid.com) client for Rust based on [reqwest](https://github.com/seanmonstar/reqwest).\n\n## Example\n\nThis package is uses [Tokio](https://tokio.rs). Add `bankid` to your `Cargo.toml` dependencies.\n\n```toml\n[dependencies]\nbankid = { version = \"0.1.0\" }\n```\n\n```rust\nuse bankid::{\n    Client, Endpoint, PersonalNumber,\n    request::{AuthRequest}\n};\nuse std::net::{IpAddr, Ipv4Addr};\n\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let client = Client::new(Endpoint::Test);\n\n    let auth_response = client.auth(AuthRequest {\n        end_user_ip: IpAddr::V4(Ipv4Addr::LOCALHOST),\n        personal_number: Some(PersonalNumber::parse(\"198710105080\")?),\n        requirement: None\n    }).await?;\n\n    let collect_response = client.collect(auth_response.order_ref).await?;\n\n    client.cancel(auth_response.order_ref).await?;\n\n    Ok(())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidask%2Fbankid-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidask%2Fbankid-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidask%2Fbankid-rs/lists"}