@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Fun Generators API
@base https://api.fungenerators.com
@version 1.5
@auth ApiKey X-Fungenerators-Api-Secret in header
@endpoints 9
@toc qrcode(9)

@endpoint GET /qrcode/text
@required {text: any}
@optional {format: any}
@returns(200)
@errors {401}

@endpoint GET /qrcode/raw
@required {rawtext: any}
@optional {format: any}
@returns(200)
@errors {401}

@endpoint GET /qrcode/url
@required {url: any}
@optional {format: any}
@returns(200)
@errors {401}

@endpoint GET /qrcode/phone
@required {number: any}
@optional {format: any}
@returns(200)
@errors {401}

@endpoint GET /qrcode/sms
@required {number: any}
@optional {format: any}
@returns(200)
@errors {401}

@endpoint GET /qrcode/skype
@required {username: any}
@optional {format: any}
@returns(200)
@errors {401}

@endpoint GET /qrcode/email
@required {email: any}
@optional {subject: any, body: any, format: any}
@returns(200)
@errors {401}

@endpoint GET /qrcode/business_card
@required {firstname: any, lastname: any, email: any}
@optional {middlename: any, company: any, phone_work: any, phone_home: any, phone_cell: any, street1: any, street2: any, city: any, zip: any, state: any, country: any, format: any}
@returns(200)
@errors {401}

@endpoint POST /qrcode/decode
@required {qrimage: any}
@returns(200)
@errors {401}

@end
