README
This commit is contained in:
		
							
								
								
									
										30
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
# IPSUM.IR
 | 
			
		||||
 | 
			
		||||
The code powering [ipsum.ir](http://ipsum.ir), a categorized ipsum generator with REST API for those who care.
 | 
			
		||||
 | 
			
		||||
## REST API
 | 
			
		||||
 | 
			
		||||
The grammer of our REST API is as follows:
 | 
			
		||||
 | 
			
		||||
     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
 | 
			
		||||
 | 
			
		||||
Currently, units are paragraph as `p`, word as `w` and character as `c`. Please not, character doesn't include spaces.
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
		Reference in New Issue
	
	Block a user