https://github.com/jdvivar/chiquito-ipsum-api
Chiquito Ipsum API
https://github.com/jdvivar/chiquito-ipsum-api
ipsum-generator javascript netlify-functions nodejs
Last synced: 2 months ago
JSON representation
Chiquito Ipsum API
- Host: GitHub
- URL: https://github.com/jdvivar/chiquito-ipsum-api
- Owner: jdvivar
- License: mit
- Created: 2020-02-21T16:22:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-11T08:21:29.000Z (over 2 years ago)
- Last Synced: 2025-02-10T14:13:46.832Z (4 months ago)
- Topics: ipsum-generator, javascript, netlify-functions, nodejs
- Language: JavaScript
- Homepage: http://chiquito-ipsum.netlify.app
- Size: 7.78 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.MD
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
**Chiquito Ipsum: a lorem ipsum generator based on www.chiquitoipsum.com... jarl!**
This ultra simple API has been designed following the exact same diodeno features found on its original website. Thanks to the creators: [Isabel Nieto](https://www.behance.net/IsabelNieto), [Carlos A. Hernández](https://www.calberhs.com/) and [Gauss Multimedia](https://www.gaussmultimedia.com/).
## API
```GET https://chiquito-ipsum.netlify.app//```
Parameters | default | description
-----------|---------|------------
(optional) paragraphs |1 | How many paragraphs you need
(optional) mode |`default` | `default` for regular chiquito fistrum style and `latin` for the latin version### Examples
```https://chiquito-ipsum.netlify.app```
This will just return 1 HTML paragraph in fistrum default mode por la gloria de mi madre```https://chiquito-ipsum.netlify.app/2```
This will return 2 HTML paragraphs in fistrum default mode, pero tenga cuidadito
```https://chiquito-ipsum.netlify.app/2/latin```
This will return 2 HTML paragraphs in latin mode
## How a good fistro de la pradera should use it in their website
```js
const agramenauer = async () => {
const response = await fetch('https://chiquito-ipsum.netlify.app');
const html = await response.text()
return html
}agramenauer().then(html => document.body.innerHTML = html)
```👉Para que no te hagas pupita intentándolo, check out that code on [this jsfiddle](https://jsfiddle.net/jdvivar/7nra2d3f/)