ipsum.ir/README.md

31 lines
874 B
Markdown
Raw Normal View History

2014-09-08 08:07:47 +00:00
# IPSUM.IR
The code powering [ipsum.ir](http://ipsum.ir), a categorized ipsum generator with REST API for those who care.
## REST API
2014-09-08 08:09:06 +00:00
The grammer of our API is as follows:
2014-09-08 08:07:47 +00:00
http://ipsum.ir/:category/:unit/:amount
#### Categories
Our only category is `design` right now, we're planning to add more categories soon, feel free to add a category!
#### Units
2014-09-08 08:09:06 +00:00
Currently, units are paragraph as `p`, word as `w` and character as `c`. Please note, character doesn't include spaces.
2014-09-08 08:07:47 +00:00
Examples:
http://ipsum.ir/design/p/2
http://ipsum.ir/normal/c/250
http://ipsum.ir/design/w/10
## Contributing
Our dictionaries are simply an array of words, if you have a bunch of words (+35) in a category, you can add it yourself or contact me [mahdi@dibaiee.ir](mailto:mahdi@dibaiee.ir) and I'll add them.
Any contribution is appreciated, new ideas, bug reports, etc.