Coder Social home page Coder Social logo

jdvivar / chiquito-ipsum-api Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 7.96 MB

Chiquito Ipsum API

Home Page: http://chiquito-ipsum.netlify.app

License: MIT License

JavaScript 98.12% Procfile 0.27% Shell 1.61%
ipsum-generator javascript netlify-functions nodejs

chiquito-ipsum-api's Introduction

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, Carlos A. Hernández and Gauss Multimedia.

API

GET https://chiquito-ipsum.netlify.app/<PARAGRAPHS>/<MODE>

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

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

chiquito-ipsum-api's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar jdvivar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.