API
I created a very simple and crude API. It's under fair usage. In other words, if you hit it too much then I may have to throttle the IPs but I honestly hope it doesn't come to that. I built this for everyone to enjoy.
Examples
curl http://lorem-ipsum.me/api/text
curl http://lorem-ipsum.me/api/json?format=html
curl http://lorem-ipsum.me/api/xml?format=plain&type=blog
Alternatively, you can use the Rubygem. Install with
gem install lorem-ipsum-me
and then you can use it in your projects.
require 'lorem-ipsum-me'
LoremIpsum.generate # Takes optional arguments too. Check the README/rdocs for more.
Languages Returned
- JSON
- Text
- XML
Formats Returned
- Plain
- HTML
Types Returned
- Essay
- Blog