{"id":24789402,"url":"https://github.com/detunized/1password-sharp","last_synced_at":"2025-10-09T21:14:40.109Z","repository":{"id":148651274,"uuid":"137343482","full_name":"detunized/1password-sharp","owner":"detunized","description":"1Password online vault C# API","archived":false,"fork":false,"pushed_at":"2024-01-19T22:01:37.000Z","size":215,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-22T15:47:57.375Z","etag":null,"topics":["1password","api","c-sharp","c-sharp-library","dotnet","password-manager"],"latest_commit_sha":null,"homepage":"","language":"C#","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/detunized.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2018-06-14T10:29:31.000Z","updated_at":"2024-01-19T22:01:41.000Z","dependencies_parsed_at":"2023-07-07T00:01:21.562Z","dependency_job_id":null,"html_url":"https://github.com/detunized/1password-sharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/detunized/1password-sharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detunized%2F1password-sharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detunized%2F1password-sharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detunized%2F1password-sharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detunized%2F1password-sharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/detunized","download_url":"https://codeload.github.com/detunized/1password-sharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detunized%2F1password-sharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002068,"owners_count":26083285,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":["1password","api","c-sharp","c-sharp-library","dotnet","password-manager"],"created_at":"2025-01-29T17:17:28.689Z","updated_at":"2025-10-09T21:14:40.080Z","avatar_url":"https://github.com/detunized.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"1Password C# API\n================\n\n## No longer supported\n\nThis project is no longer supported. There's a fully supported and regularly \nupdated C# library that implements access to a veriety of password managers, \nincluding 1Password. Please check out \n[Password Manager Access](https://github.com/detunized/password-manager-access).\n\n---\n\n**This is unofficial 1Password API.**\n\nThis library provides access to the [1Password online vault][1password]. This\nlibrary does not decode any locally stored keychains, only what's available\nonline.\n\nThis library provides a very high level mode of operations. It simply\ndownloads all the available vaults, parses and decrypts them. Only web\naccounts are supported. The API is pretty trivial and it's easy to use. Simply\ncall `OnePassword.Client.OpenVaults` with a few parameters and inspect the\noutput. Here's a quick example (for the complete example program please to\nrefer to `example/Program.cs`):\n\n```csharp\nusing OnePassword;\n\nvar vaults = Client.OpenAllVaults(username, password, accountKey, uuid);\nforeach (var vault in vaults)\n{\n    Console.WriteLine(\"{0} {1} {2}\", vault.Id, vault.Name, vault.Description);\n    for (int i = 0; i \u003c vault.Accounts.Length; ++i)\n    {\n        var account = vault.Accounts[i];\n        Console.WriteLine(\"  - {0}: {1} {2} {3} {4} {5} {6}\",\n                          i + 1,\n                          account.Id,\n                          account.Name,\n                          account.Username,\n                          account.Password,\n                          account.Url,\n                          account.Note);\n    }\n}\n```\n\n`username`, `password` and the `accountKey` are, obviously, your credentials\nto the online vault. `uuid` is a device ID from which the access is made. This\nID should be unique for each new client. A new ID will be registered with the\nserver and it should be reused on subsequent calls. It's possible to use a new\nID every time but this will pollute the [list of trusted devices][profile] on\nthe server. To generate a new uuid please use provided\n`Client.GenerateRandomUuid` funciton.\n\n\nNotes\n-----\n\nThe library alters some global parameters that might affect the application.\nPlease take a look at the static constructor of the `HttpClient` class.\n`ServicePointManager.SecurityProtocol` is changed to support SSL3 and TLS 1.0\nthrough 1.2. Otherwise 1password.com refuses to open a secure connection.\n\n\nLicense\n-------\n\nThe library is released under [the MIT\nlicense](http://www.opensource.org/licenses/mit-license.php).\n\n\n[1password]: https://my.1password.com/signin\n[profile]: https://my.1password.com/profile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetunized%2F1password-sharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdetunized%2F1password-sharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetunized%2F1password-sharp/lists"}