LAAS

Love As A Service

Please see README for use.

v0.0.1

Introduction

LAAS (Love As A Service) provides a modern, RESTful, scalable solution to the common problem of telling people that you love them.

Content Negotiation

LAAS will respond to the following 'Accept:' values with appropriate content

API

/you/:name/:from

Will return content of the form 'I Love you, :name. - :from', e.g. /you/Tom/Chris will return 'Love, Tom - Chris'

/this/:from

Will return content of the form 'Love this - :from', e.g. /this/Chris will return 'Love this. - Chris'

/that/:from

Will return content of the form 'Love that. - :from', e.g. /that/Chris will return 'Love that. - Chris'

/everything/:from

Will return content of the form 'Love everything. - :from', e.g. /everything/Chris will return 'Love everything. - Chris'

/everyone/:from

Will return content of the form 'Everyone can go and love one another. - :name', e.g. /everyone/Tom will return 'Everyone can go and love one another. - Tom'

/donut/:name/:from

Will return content of the form ':name, I Love You like 100 donuts. - :from', e.g. /donut/Tom/Chris will return 'Tom, I Love You like 100 donuts. - Chris'

/shakespeare/:name/:from

Will return content of the form ':name, Love looks not with the eyes, but with the mind, And therefore is winged Cupid painted blind - :from', e.g. /shakespeare/Falstaff/Prince%20Henry will return 'Falstaff, Love looks not with the eyes, but with the mind, And therefore is winged Cupid painted blind- Prince Henry

/war/:name/:from

Will return content of the form 'Make Love, not war :name, you are fucking thick. - :from'.

/pink/:from

Will return content of the form 'Well, Love me pink. - :from'.

/life/:from

Will return content of the form 'Loving my life. - :from', e.g. /life/Phil will return 'Loving my life. - Phil'.

/slowly/:name/:from

Will return content of the form 'Love me gentle, Love me slowly :name. - :from', e.g. /chainsaw/Chris/Heather will return 'Love me gentle, Love me slowly, Chris. - Heather

/aristotle/:name/:from

Will return content of the form ':name, Love is composed of a single soul inhabiting two bodies. - :from', e.g. /chainsaw/Chris/Heather will return 'Chris, Love is composed of a single soul inhabiting two bodies. - Heather

/:thing/:from

Will return content of the form 'Love :thing. - :from', e.g. /pineapples/%E2%99%A5%20Chris will return 'Love pineapples. - ♥ Chris'

/thanks/:from

Will return content of the form 'Thank you very much. - :from'.

/flying/:from

Will return content of the form 'I don't give a rosey Love. - :from".

All contributions are very welcome.

Please note this is based on the service Fuck Off As A Service, also on Github.

You can find Love As A Service, also on Github.

Written in Ruby using Sinatra

Created and Maintained by @RubyChilds