Skip to main content

Lorem Ipsum Generator is a simple tool for generating lorem ipsum text. It returns the generated text.

Project description

Lorem Ipsum Generator API

Lorem Ipsum Generator is a simple tool for generating lorem ipsum text. It returns the generated text.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the Lorem Ipsum Generator API


Installation

pip install apiverve-loremipsumgenerator

Configuration

Before using the loremipsumgenerator 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 Lorem Ipsum Generator API documentation is found here: https://docs.apiverve.com/api/loremipsumgenerator.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_loremipsumgenerator.apiClient import LoremipsumgeneratorAPIClient

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

Perform Request

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

Define Query
query = { "paragraphs": 3,  "startwithlorem": true,  "maxlength": 100 }
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "words": 93,
    "sentences": 8,
    "text": "Lorem ipsum dolor sit amet nisi esse elit ea irure dolor reprehenderit ad. Elit officia officia anim laborum in cupidatat enim dolore esse consectetur nostrud proident. Aute excepteur nisi amet aliqua cillum occaecat laborum ullamco ullamco excepteur velit. Nisi labore anim dolor amet tempor cillum laboris excepteur aliqua est. Irure aliqua culpa ea eu est officia nisi ea sit occaecat. Nostrud dolore deserunt pariatur irure cillum et ea veniam cupidatat nisi do. Dolore reprehenderit proident qui ea consectetur. Mollit consequat reprehenderit adipisicing anim velit incididunt ut pariatur consequat proident incididunt ipsum velit laboris."
  },
  "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_loremipsumgenerator-1.1.5.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file apiverve_loremipsumgenerator-1.1.5.tar.gz.

File metadata

File hashes

Hashes for apiverve_loremipsumgenerator-1.1.5.tar.gz
Algorithm Hash digest
SHA256 e61b38d70fddfc6c364a371dbbb232a3622f4a17d74bc0807b2ce51641b34d39
MD5 58587e0635be6be92c43230b875822f8
BLAKE2b-256 cbcbb2da799ffac036efeef9b150690e64e15d991090de4c823fda6a11ba1cbc

See more details on using hashes here.

File details

Details for the file apiverve_loremipsumgenerator-1.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_loremipsumgenerator-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d220f6dc6c7bf3d5c6ec539b00942920a0bf076984de0af87b569406c85b6e99
MD5 6b8fb0ca86590c354e176df5534d39d7
BLAKE2b-256 ac5ff4aac3abc7d63e003a3fd9bca0c99e5ec39299764ebd801aba09e4287a8d

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