Top Menu

Public APIs

公开API

Give Me Random

地址:https://dev.minirplus.com/give-me-random/api.php

说明:6位随机数+随机RGB颜色

调用方法[GET]|返回值类型[JSON]

参数:无

调用实例:https://dev.minirplus.com/give-me-random/api.php

My Life Time

地址:https://dev.minirplus.com/my-life-time/api.php

说明:存活时间+距下一生日+距下一年代+剩余存活时间

调用方法[GET]|返回值类型[JSON]

参数:

  • birthDay=设定出生日期[必须][0000-00-00]
  • setNowDate=指定计算期末日期[可选][0000-00-00]

调用实例:http://dev.minirplus.com/my-life-time/api.php?birthDay=1934-12-01&setNowDate=2006-10-10

WebUI:https://dev.minirplus.com/my-life-time/

Number To Chinese

地址:https://dev.minirplus.com/api/num_to_chinese.php

说明:阿拉伯数字转中文大写金额

调用方法[GET]|返回值类型[JSON]

参数:

  • input[必须][number]

调用实例:https://dev.minirplus.com/api/num_to_chinese.php?input=3211261530175.98\

IMG Placehold

地址:https://dev.minirplus.com/api/gen_img_placehold.php

说明:图片占位符

调用方法[GET]|返回值类型[image/png]

参数:

  • size[必须][长×宽]

调用实例:https://dev.minirplus.com/api/gen_img_placehold.php?size=350×150

Debug

查看Json返回结果:JSONView

发送API请求:Postman

Powered by WordPress. Designed by WooThemes