The Baseball Ipsum API is a REST interface that returns JSON. Pass in the following parameters using an HTTP GET and you'll get a Json string array of paragraphs.
Parameters:
- paras: optional number of paragraphs, defaults to 1, maximum of 25
- startwithlorem: optional pass true to start the first paragraph with 'Baseball ipsum dolor sit amet'
Examples:
- https://baseballipsum.azurewebsites.net/api/?paras=5
- https://baseballipsum.azurewebsites.net/api/?paras=1&startwithlorem=true
Looking for the source code? Baseball Ipsum on Github.