👤 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 @limebike | formerly @amzn @IBM-Swift
Wilson Ding
Wanikani-swift - Unofficial Swift client for the WaniKani API

WaniKani A Swift library and client for the WaniKani REST API. It currently supp

Aaron Sky 5 Oct 28, 2022
Unofficial GitHub API client in Swift

Github.swift ❤️ Support my apps ❤️ Push Hero - pure Swift native macOS application to test push notifications PastePal - Pasteboard, note and shortcut

Khoa 184 Nov 25, 2022
Unofficial Dribbble iOS wrapper allows you to integrate Dribble API into iOS application (Designer, Shot, Comment, User Story, Like, Follow)

DribbbleSDK DribbbleSDK is easy-to-use iOS wrapper for Dribbble SDK. We're working hard to complete the full coverage of available methods and make th

Agilie Team 74 Dec 2, 2020
A swift SDK for Medium's OAuth2 API

Medium SDK - Swift A library to allow access to Medium API for any Swift iOS application. Features Medium.com authorization & token handling Login sta

null 11 Jan 22, 2022
The Waterwheel Swift SDK provides classes to natively connect iOS, macOS, tvOS, and watchOS applications to Drupal 7 and 8.

Waterwheel Swift SDK for Drupal Waterwheel makes using Drupal as a backend with iOS, macOS, tvOS, or watchOS enjoyable by combining the most used feat

Kyle Browning 414 Jul 26, 2022
This repository is for the new ARGear SDK library for the iOS platform

This repository is for the new ARGear SDK library for the iOS platform. The library is not official yet. The library will be updated frequently by applying user feedback. When the APIs are fixed, the official library will be released.

ARGear 2 Apr 5, 2022
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 30, 2022
Swift 3 framework for accessing data in Event Registry (http://eventregistry.org/)

PPEventRegistryAPI Swift 3 framework for accessing data in Event Registry (http://eventregistry.org/) Supported API calls Log In Get Event By Identifi

Pavel Pantus 8 Nov 1, 2016
iOS/macOS Cross-platform Ark-Ecosystem Framework in Swift | Powered by Ѧrk.io |

a macOS & iOS Swift Framework for Ark.io. What is ARKKit? ARKKit is wrapper for interacting with the Ark Ecosystem. It is written purely in Swift 4.0,

Simon 19 Jun 28, 2022
A Swift Framework build for the Ark Ecosystem

Introduction Overview SwiftyArk is a simple, lightweight framework for the Ark Ecosystem. SwiftyArk provides a simple wrapper for accessing Ark accoun

Andrew Walz 8 May 12, 2019
A Slack API Client for the Perfect Server-Side Swift Framework

PerfectSlackAPIClient is an API Client to access the Slack API from your Perfect Server Side Swift application. It is build on top of PerfectAPIClient

Cap.雪ノ下八幡 2 Dec 1, 2019
A Jamf Classic communication framework written in Swift

JamfKit JamfKit is an iOS / macOS / tvOS framework to communicate with the JSS API offered by any Jamf host. Summary Features Installation Carthage Co

Damien R. 40 Mar 31, 2022
ObjectiveFlickr, a Flickr API framework for Objective-C

ObjectiveFlickr ObjectiveFlickr is a Flickr API framework designed for Mac and iPhone apps. OAuth Support ObjectiveFlickr now supports Flickr's new OA

Lukhnos Liu 714 Jan 9, 2023
AWS Full Stack Swift with Apple CarPlay

This application demonstrates a full-stack Apple CarPlay app that uses Swift for both the UI and the backend services in AWS. The app accesses Lambda functions written in Swift and deployed from Docker images. The app accesses Amazon Location Service and a 3rd party weather api to display information in the vicinity of the user.

AWS Samples 100 Jan 6, 2023
A Swift wrapper for Foursquare API. iOS and OSX.

Das Quadrat Das Quadrat is Foursquare API wrapper written in Swift. Features Supports iOS and OSX. Covers all API endpoints. Authorization process imp

Constantine Fry 171 Jun 18, 2022
Pokeapi wrapper, written in Swift

PokemonKit What is this? PokemonKit is a swift wrapper for Pokeapi. PokemonKit use Alamofire and PromiseKit for async web requests handling. Usage imp

Continuous Learning 105 Nov 16, 2022
Build Slack apps, in Swift

SlackKit: Slack Apps in Swift Description SlackKit makes it easy to build Slack apps in Swift. It's intended to expose all of the functionality of Sla

Peter Zignego 1k Dec 20, 2022
Swift client for Unsplash

Unsplash API client written in Swift. Unsplash offers 2 APIs: Source API (unlimited requests) Official API JSON API (5000 requests / hour) JSON API is

Modo 188 Nov 12, 2022
The Swift-est way to build native mobile apps that connect to Salesforce.

Swiftly Salesforce is the Swift-est way to build native mobile apps that connect to Salesforce: Written entirely in Swift. Very easy to install and up

Michael Epstein 131 Nov 23, 2022