@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Article Rewriter and Article Extractor API
@base https://api.spinbot.net/
@version 1.0
@auth ApiKey key in query
@endpoints 5
@toc api(5)

@endpoint GET /api/acc
@desc Return the user credit information.
@required {key: any # Your api key}
@returns(200) success

@endpoint POST /api/pretty-spinner
@desc Human readable auto rewrite your article.
@required {key: any # Your spinbot API key, text: any # Input article that need to be rewrited., keep: any # Keep words/phrases, separated by newline, those remain unchanged during the rewrite process., accuracy: any # Rewrite accuracy profile, accepted values are very-low, low, medium, high, very-high}

@endpoint POST /api/spinner
@desc Rewriting (spinning) your input article.
@required {key: any # Your spinbot API key, text: any # Input article that need to be rewrited.}

@endpoint POST /api/spintax
@desc Generate Spintax format for the input article
@required {key: any # Your spinbot API key, text: any # Input article that need to be rewritten.}
@optional {full_mode: any # Full mode option.}

@endpoint POST /api/article
@desc Extracting the main article of the given URL.
@required {key: any # Your spinbot API key, url: any # The url of target article}
@optional {faster_mode: any # you can set this input value to 1 to skip detecting the size (width and height in pixel) of all the images inside the extracted article. The response time of your request will be shortened if you set this input value to 1.}

@end
