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": 108,
    "sentences": 9,
    "text": "Lorem ipsum dolor sit amet ex deserunt nisi dolore mollit cillum duis elit adipisicing culpa deserunt elit. Adipisicing dolor minim minim elit in nostrud tempor officia officia non Lorem incididunt quis. Tempor eu excepteur pariatur consequat aliqua ullamco magna incididunt reprehenderit adipisicing irure. Laborum velit est consequat do irure veniam enim laboris occaecat cillum. Reprehenderit tempor adipisicing nostrud enim ex irure officia cupidatat aute velit esse anim. Id aute cillum ullamco adipisicing ipsum dolor pariatur. Et reprehenderit enim id irure eu tempor eiusmod laboris aliqua mollit exercitation ea. Aliqua ut amet Lorem aute. Occaecat laborum veniam eu deserunt ut non ea magna eu laborum consectetur duis ullamco dolor."
  },
  "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.4.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for apiverve_loremipsumgenerator-1.1.4.tar.gz
Algorithm Hash digest
SHA256 302051cb6588a3c5dc730efa77a2a05807e75a55e014416441fae15fa13ad11d
MD5 c8a0d058482cc4bcad5cc39ebd512e30
BLAKE2b-256 afff5aed93661f20583e4fc768dff94cec4cc907ab369b34a9797b425e92bf35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apiverve_loremipsumgenerator-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 16d2cab660d5082309a0bdb762dbe82137698fdd9642f072aad83fa461f4767d
MD5 e7e4c1c4c522ee8cf9b470ee05662968
BLAKE2b-256 d9c0b347bdf5821cf1af8aa6e7fa39ed8be79a062f512a116892fbf4aa636cc1

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