{"id":37060526,"url":"https://github.com/tsjdev-apps/randomuser-sharp","last_synced_at":"2026-01-14T06:51:08.182Z","repository":{"id":193320265,"uuid":"688551135","full_name":"tsjdev-apps/randomuser-sharp","owner":"tsjdev-apps","description":"A .NET client wrapper for https://randomuser.me written in .NET Standard","archived":false,"fork":false,"pushed_at":"2023-10-11T16:55:43.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-31T19:41:16.014Z","etag":null,"topics":[],"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/tsjdev-apps.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}},"created_at":"2023-09-07T15:24:36.000Z","updated_at":"2023-09-15T17:47:49.000Z","dependencies_parsed_at":"2023-09-07T18:07:20.908Z","dependency_job_id":null,"html_url":"https://github.com/tsjdev-apps/randomuser-sharp","commit_stats":null,"previous_names":["tsjdev-apps/randomuser-sharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsjdev-apps/randomuser-sharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Frandomuser-sharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Frandomuser-sharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Frandomuser-sharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Frandomuser-sharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsjdev-apps","download_url":"https://codeload.github.com/tsjdev-apps/randomuser-sharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Frandomuser-sharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2026-01-14T06:51:06.735Z","updated_at":"2026-01-14T06:51:08.177Z","avatar_url":"https://github.com/tsjdev-apps.png","language":"C#","funding_links":["https://www.buymeacoffee.com/tsjdevapps"],"categories":[],"sub_categories":[],"readme":"# RandomUserSharp\n\nA .NET client wrapper for http://randomuser.me written in .NET Standard 2.0\n\n## Installation\n\nInstall the package via [NuGet](https://www.nuget.org/packages/RandomUserSharp).\n\n\u003ca href=\"https://www.nuget.org/packages/RandomUserSharp\" target=\"_blank\"\u003e![Nuget](https://img.shields.io/nuget/v/RandomUserSharp)\u003c/a\u003e\n\n\n## Usage\n\nYou can either create a new instance of `RandomUserSharpClient` or if you are using Dependency Injection there is also an interface called `IRandomUserSharpClient` which you can register in your container.\n\n```csharp\nTask\u003cList\u003cUser\u003e\u003e GetRandomUsersAsync();\n```\n\nThe `RandomUserSharpClient` provides one method, called `GetRandomUsersAsync`, which has several optional parameters. The following table describes the parameters.\n\n| **name** | **type** | **default value** | **description** |\n|-|-|-|-|\n| `count` | `int` | `1` | Indicates the amount of random users, which should be generated. |\n| `gender` | `Gender` | `Both` | Indicates the gender of the generated persons. |\n| `nationalities` | `List\u003cNationality\u003e` | `null` | Indicates the nationalities of the users. |\n| `useLegoImages` | `bool` | `false` | Indicates if the images should be *Lego* images. |\n| `seed` | `string` | `null` | Indicates if you want generate the same set of users by using the same `seed`. |\n| `passwordOptions` | `PasswordOptions` | `null` | Indicates how the passwords should be generated. |\n\n## Sample\n\nHere is a screenshot of the `Console Application` using the [NuGet package](https://www.nuget.org/packages/RandomUserSharp) to get some random users and display them in a table on the console.\n\n![RandomUserSharpSample](./docs/randomusersharp-sample.png)\n\n## Buy Me A Coffee\n\nI appreciate any form of support to keep my _Open Source_ activities going.\n\nWhatever you decide, be it reading and sharing my blog posts, using my NuGet packages or buying me a coffee/book, thank you ❤️.\n\n\u003ca href=\"https://www.buymeacoffee.com/tsjdevapps\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-yellow.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Frandomuser-sharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsjdev-apps%2Frandomuser-sharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Frandomuser-sharp/lists"}