Skip to main content

Random User Generator is a simple tool for generating random user data. It returns the user's name, email, and more.

Project description

Random User Generator API

Random User Generator is a simple tool for generating random user data. It returns the user's name, email, and more.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the Random User Generator API


Installation

pip install apiverve-randomusergenerator

Configuration

Before using the randomusergenerator API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The Random User Generator API documentation is found here: https://docs.apiverve.com/api/randomusergenerator.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_randomusergenerator.apiClient import RandomusergeneratorAPIClient

# Initialize the client with your APIVerve API key
api = RandomusergeneratorAPIClient("[YOUR_API_KEY]")

Perform Request

Using the API client, you can perform requests to the API.

Define Query
query = { "count": 1 }
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example Response
{
  "status": "ok",
  "error": null,
  "data": [
    {
      "id": "259364d7-ec79-4999-ba2a-1ae72654cbad",
      "name": "Adrian Braun",
      "gender": "Male",
      "username": "Jonathan_Wolf6",
      "email": "Garrick.Kuhlman@gmail.com",
      "password": "kYCJBgvoBre30v6",
      "registered": "2024-06-22T14:20:12.38Z",
      "phone": "1-837-688-7413 x973",
      "cell": "(607) 226-6671 x881",
      "birthdate": "1973-11-11T06:30:36.969Z"
    }
  ],
  "code": 200
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apiverve_randomusergenerator-1.1.4.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file apiverve_randomusergenerator-1.1.4.tar.gz.

File metadata

File hashes

Hashes for apiverve_randomusergenerator-1.1.4.tar.gz
Algorithm Hash digest
SHA256 59048a0c59a8d9fe44dbef7ca09589d880008b45b71963a99ddb3b9b92ea32cc
MD5 c14ee20a0e0f5167d6cdbb4a9250fcb9
BLAKE2b-256 13d4509e9cce3a9c2239d91797090c15cce6e2e522604cf0bf1a4f12cc7dd5a0

See more details on using hashes here.

File details

Details for the file apiverve_randomusergenerator-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_randomusergenerator-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c9ab6da5522fcd17510c70c70bc5487cd2bc1ab12fc8ee27eb53786a9a74409
MD5 4dc010760d97b805f1f3167479b4a68d
BLAKE2b-256 ee8d6cbe803b179311672755a6688001a915ad4df6b5b53d2d56da5124a9e3a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page