{"id":1906,"url":"https://github.com/dingwilson/RandomUserSwift","last_synced_at":"2025-08-06T12:31:57.112Z","repository":{"id":62452536,"uuid":"70607857","full_name":"dingwilson/RandomUserSwift","owner":"dingwilson","description":"👤 Framework to Generate Random Users - An Unofficial Swift SDK for randomuser.me","archived":false,"fork":false,"pushed_at":"2021-05-28T04:17:17.000Z","size":2816,"stargazers_count":96,"open_issues_count":1,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-27T12:25:32.813Z","etag":null,"topics":["api","api-wrapper","generate","ios","mock","open-source","random","swift","test","ui","user"],"latest_commit_sha":null,"homepage":"https://www.randomuser.me","language":"Swift","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/dingwilson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-11T15:29:18.000Z","updated_at":"2024-09-02T01:46:53.000Z","dependencies_parsed_at":"2022-11-01T23:46:17.789Z","dependency_job_id":null,"html_url":"https://github.com/dingwilson/RandomUserSwift","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dingwilson%2FRandomUserSwift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dingwilson%2FRandomUserSwift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dingwilson%2FRandomUserSwift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dingwilson%2FRandomUserSwift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dingwilson","download_url":"https://codeload.github.com/dingwilson/RandomUserSwift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228898281,"owners_count":17988652,"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":["api","api-wrapper","generate","ios","mock","open-source","random","swift","test","ui","user"],"created_at":"2024-01-05T20:15:58.678Z","updated_at":"2024-12-09T13:30:35.149Z","avatar_url":"https://github.com/dingwilson.png","language":"Swift","funding_links":[],"categories":["SDK","Libs","Networking","API [🔝](#readme)"],"sub_categories":["Unofficial","API","Other free courses"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/dingwilson/RandomUserSwift/master/Assets/banner.png\" width=\"780\" title=\"RandomUserSwift\"\u003e\n\u003c/p\u003e\n\n[![Build Status](https://travis-ci.org/dingwilson/RandomUserSwift.svg?branch=master)](https://travis-ci.org/dingwilson/RandomUserSwift)\n[![codecov](https://codecov.io/gh/dingwilson/RandomUserSwift/branch/master/graph/badge.svg)](https://codecov.io/gh/dingwilson/RandomUserSwift)\n[![doccov](https://wilsonding.com/RandomUserSwift/badge.svg)](https://wilsonding.com/RandomUserSwift)\n[![CocoaPods Version Status](https://img.shields.io/cocoapods/v/RandomUserSwift.svg)](https://cocoapods.org/pods/RandomUserSwift)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-Compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)\n![Platform](https://img.shields.io/badge/platforms-iOS-333333.svg)\n[![Swift](https://img.shields.io/badge/Swift-5.0+-orange.svg)](https://swift.org)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/dingwilson/RandomUserSwift/master/Assets/screenshot.gif\" width=\"369\" title=\"Screenshot\"\u003e\n\u003c/p\u003e\n\nRandomUserSwift is an easy to use Swift framework that provides the ability to generate random users and their accompanying data for your Swift applications. It utilizes [randomuser.me](https://www.randomuser.me) API to generate the data.\n\n1. [Integration](#integration)\n    - [Cocoapods](#cocoapods)\n    - [Carthage](#carthage)\n2. [Usage](#usage)\n3. [License](#license)\n\n## Integration\n\n#### CocoaPods\nYou can use [CocoaPods](https://cocoapods.org/) to install `RandomUserSwift` by adding it to your `Podfile`:\n```ruby\ntarget 'MyApp' do\n\tpod 'RandomUserSwift'\nend\n```\n\n#### Carthage\nYou can use [Carthage](https://github.com/Carthage/Carthage) to install `RandomUserSwift` by adding it to your `Cartfile`:\n```\ngithub \"dingwilson/RandomUserSwift\"\n```\n\n## Usage\n\nImport the framework\n\n```swift\nimport RandomUserSwift\n```\n\nThen, use the `getUsers` function via the `shared` singleton with a completion handler.\n\n```swift\nRandomUser.shared.getUsers { data, error in\n    guard let data = data else { return }\n\n    print(data)\n}\n```\n\nFor more information on the configuration and returned values, check out the [RandomUserSwift documentation](https://wilsonding.com/RandomUserSwift) or [RandomUser official documentation](https://www.randomuser.me/documentation)\n\n\n## License\n\n`RandomUserSwift` is released under an [MIT License](https://opensource.org/licenses/MIT). See `LICENSE` for details.\n\n**Copyright \u0026copy; 2016-present Wilson Ding.**\n\n*Please provide attribution, it is greatly appreciated.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdingwilson%2FRandomUserSwift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdingwilson%2FRandomUserSwift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdingwilson%2FRandomUserSwift/lists"}