👤 Framework to Generate Random Users - An Unofficial Swift SDK for randomuser.me

Overview

Build Status codecov doccov CocoaPods Version Status Carthage compatible Platform Swift MIT License

RandomUserSwift 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 API to generate the data.

  1. Integration
  2. Usage
  3. License

Integration

CocoaPods

You can use CocoaPods to install RandomUserSwift by adding it to your Podfile:

target 'MyApp' do
	pod 'RandomUserSwift'
end

Carthage

You can use Carthage to install RandomUserSwift by adding it to your Cartfile:

github "dingwilson/RandomUserSwift"

Usage

Import the framework

import RandomUserSwift

Then, use the getUsers function via the shared singleton with a completion handler.

RandomUser.shared.getUsers { data, error in
    guard let data = data else { return }

    print(data)
}

For more information on the configuration and returned values, check out the RandomUserSwift documentation or RandomUser official documentation

License

RandomUserSwift is released under an MIT License. See LICENSE for details.

Copyright © 2016-present Wilson Ding.

Please provide attribution, it is greatly appreciated.

Comments
  • 1.1.0

    1.1.0

    What does this PR do?

    1.1.0

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 1
  • Update to Swift 5

    Update to Swift 5

    What does this PR do?

    Updates Library to Swift 5

    What issues (if any) are related to this PR? Or why was this change introduced?

    closes #23

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 1
  • 1.0.0

    1.0.0

    What does this PR do?

    Update to 1.0.0 to fix cocoapods versioning issue.

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 1
  • Cleaned up README

    Cleaned up README

    What does this PR do?

    Cleaning up repo

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 1
  • Added testing and travis/codecov integrations

    Added testing and travis/codecov integrations

    What does this PR do?

    Adds testing, integrates testing with travis, and adds codecov.

    What issues (if any) are related to this PR? Or why was this change introduced?

    Closes #5

    Checklist

    • [x] Does this contain code changes?
    • [x] Does this have tests?
    • [x] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [x] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 1
  • master: Fix forced unwrapped that was causing crashes.

    master: Fix forced unwrapped that was causing crashes.

    Fixing force unwrapped properties parser, because some time when the field doesn't contains on the json or is not the expected type it crashes the App. screen shot 2017-07-05 at 15 58 28

    opened by LucianoPAlmeida 1
  • Added code coverage reporting

    Added code coverage reporting

    What does this PR do?

    Adds code coverage reporting

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 0
  • 100% documentation coverage

    100% documentation coverage

    What does this PR do?

    Adds 100% documentation coverage

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [x] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 0
  • 0.1.0

    0.1.0

    What does this PR do?

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 0
  • Removed repo variable from travis yml

    Removed repo variable from travis yml

    What does this PR do?

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 0
  • Updated README asset links

    Updated README asset links

    What does this PR do?

    What issues (if any) are related to this PR? Or why was this change introduced?

    Checklist

    • [ ] Does this contain code changes?
    • [ ] Does this have tests?
    • [ ] Does this have documentation?
    • [ ] Does this break the public API (Requires major version bump)?
    • [ ] Is this a new feature (Requires minor version bump)?
    opened by dingwilson 0
Releases(1.1.0)
Owner
Wilson Ding
I build cool stuff people use @amzn | formerly @limebike @IBM-Swift
Wilson Ding
SDK for creating Telegram Bots in Swift.

Chat • Changelog • Prerequisites • Getting started • Creating a new bot • Generating Xcode project • API overview • Debugging notes • Examples • Docum

Rapier 349 Dec 20, 2022
CovidCertificate SDK for iOS

This is the Swiss implementation of the Electronic Health Certificates (EHN) Specification [1] used to verify the validity of Digital Covid Certificates. It is partly based on the reference implementation of EHN's ValidationCore

Swiss Admin 19 Apr 5, 2022
Desk360 Mobile Chat SDK for iOS

Desk360 Chat iOS SDK Desk360 Chat SDK provides simplicity and usability in one place. With this feature, you can provide live support to your customer

null 5 Sep 21, 2022
WANNA SDK enhances your iOS app with virtual try-on capabilities for shoes and watches

WANNA SDK enhances your iOS app with virtual try-on capabilities for shoes and watches. With this feature, your users will be able to see in real time how the selected product looks on them, just by pointing their smartphone camera at their feet or wrist.

Wannaby Inc. 18 Dec 2, 2022
Telegram Bot Framework written in Swift 5.1 with SwiftNIO network framework

Telegrammer is open-source framework for Telegram Bots developers. It was built on top of Apple/SwiftNIO

Pataridze Givi 279 Jan 4, 2023
Swifter - A Twitter framework for iOS & OS X written in Swift

Getting Started Installation If you're using Xcode 6 and above, Swifter can be installed by simply dragging the Swifter Xcode project into your own pr

Matt Donnelly 2.4k Dec 26, 2022
QuoteKit is a Swift framework to use the free APIs provided by Quotable created by Luke Peavey.

QuoteKit The QuoteKit is a Swift framework to use the free APIs provided by Quotable created by Luke Peavey.

Rudrank Riyam 17 Jun 23, 2022
Swift implementation of Github REST API v3

GitHubAPI Swift implementation of GitHub REST api v3. Library support Swift 4.2. Work is in progress. Currently supported: Issues API. Activity API(Fe

Serhii Londar 77 Jan 7, 2023
Google Directions API helper for iOS, written in Swift

PXGoogleDirections Google Directions API SDK for iOS, entirely written in Swift. ?? Features Supports all features from the Google Directions API as o

Romain L 268 Aug 18, 2022
Swift Reddit API Wrapper

reddift reddift is Swift Reddit API Wrapper framework, and includes a browser is developed using the framework. Supports OAuth2(is not supported on tv

sonson 236 Dec 28, 2022
Instagram API client written in Swift

SwiftInstagram is a wrapper for the Instagram API written in Swift. It allows you to authenticate users and request data from Instagram effortlessly.

Ander Goig 580 Nov 25, 2022
Swift client for Kubernetes

Table of contents Overview Compatibility Matrix Examples Usage Creating a client Configuring a client Client authentication Client DSL Advanced usage

Swiftkube 94 Dec 14, 2022
Instagram Private API Swift

SwiftyInsta Please notice SwiftyInsta may not be actively maintained at the moment of you reading this note. Refer to #244 for more info. Instagram of

Mahdi Makhdumi 218 Jan 5, 2023
A Swift client for the OpenAI API.

OpenAI A Swift client for the OpenAI API. Requirements Swift 5.3+ An OpenAI API Key Example Usage Completions import OpenAI

Mattt 161 Dec 26, 2022
Swift Bot with Vapor for Telegram Bot Api

Telegram Vapor Bot Please support Swift Telegram Vapor Bot Lib development by giving a ⭐️ Telegram Bot based on Swift Vapor. Swift Server Side Communi

OleG. 104 Jan 6, 2023
Solana + RxSolana This is a open source library on pure swift for Solana protocol

The objective is to create a cross platform, fully functional, highly tested and less depencies as posible. The project is still at initial stage. Lots of changes chan happen to the exposed api.

Arturo Jamaica 138 Dec 15, 2022
Fetch Multiple Rest API using Swift 5.5 Async Await with Task, TaskGroup, Continuation API

Source code for Tutorial on experimenting with Swift Async Await to fetch multiple REST API endpoints and eliminate Pyramid of Doom callback hell to improve code readability and maintanability

Alfian Losari 14 Dec 7, 2022
Swift library for the Twitter API v1 and v2

Swift library for the Twitter API v1 and v2

mironal 96 Dec 30, 2022
👤 Framework to Generate Random Users - An Unofficial Swift SDK for randomuser.me

RandomUserSwift is an easy to use Swift framework that provides the ability to generate random users and their accompanying data for your Swift applic

Wilson Ding 95 Sep 9, 2022
API Calling - Made an app in swift that gets data from Randomuser api and uses it in UITableView

API_Calling Made an app in swift that gets data from Randomuser api and uses it

Arnav Chhokra 1 Feb 4, 2022