Web服务:FOAAS

jopen 9年前

FOAAS (Fuck Off As A Service) 提供一个流行、RESTful、可伸缩的解决方案,用来解决人们各种 '操蛋' 的需求。提供了多种语言客户端开发包:

Language Name Info
JS/Node foaas-client https://www.npmjs.org/package/foaas-client
Ruby foaas-client https://github.com/petedmarsh/foaas-client
PHP foaas-php https://github.com/klaude/foaas-php
Python foaas-python https://github.com/dmpayton/foaas-python
R rfoaas https://github.com/eddelbuettel/rfoaas
CLI/bash foaas.sh https://github.com/RaymiiOrg/foaas.sh
.NET FOAASClient https://github.com/igorkulman/FOAASClient
Java JFOAAS https://github.com/AnUnknownMiner/FOAAS-Java

接口示例:

/version 返回当前 FOAAS 版本号
/operations 返回 FOAAS 可用操作
/off/:name/:from 返回示例: 'Fuck off, :name. - :from', e.g. /off/Tom/Chris will return 'Fuck off, Tom - Chris'
/you/:name/:from 返回示例: 'Fuck you, :name. - :from', e.g. /you/Tom/Chris will return 'Fuck you, Tom - Chris'
/this/:from 返回示例: 'Fuck this - :from', e.g. /this/Chris will return 'Fuck this. - Chris'
/that/:from 返回示例: 'Fuck that. - :from', e.g. /that/Chris will return 'Fuck that. - Chris'

项目主页:http://www.open-open.com/lib/view/home/1433317398182