一套免费MySQL数据库数据接口API,让项目开发更简单

前言

很多项目开发过程中,都会用到MySQL数据库,然后客户端调用时就需要API接口来接入。与其自己从头写一套数据API接口,还不如直接使用现成的接口来更快速,而且也稳定。可以节省不少时间和成本。

下面将介绍一套免费的MySQL数据库数据接口API,可用于开发各种客户端软件和项目。

数据库配置

首先,将自己已经有的数据配置到平台上。如下所示:

分别配置,

  • 数据库地址或IP地址
  • 数据库账号
  • 数据库密码
  • 数据库名字 
  • 数据库编码(默认UTF8)
  • 表主键字段名,通常为:id

平台配置的地址是:http://open.yesapi.cn/?r=App/DatabaseConfig

一套免费的MySQL数据库数据接口API

配置好自己的数据库后,就可以使用下面这套数据库接口了。分别有:

按增删改查划分,可以分为四大类。

增加系列的接口

精确更改数值接口(可加可减)[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.ChangeNumber.html

创建非重复新数据接口[直连版]

http://api.yesapi.cn/?s=App.SuperTable.CheckCreate

创建新数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.Create.html

批量创建新数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.MultiCreate.html

批量极速创建新数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.MultiFastCreate.html

 

增加系列的接口,在前面都会有个【增】字标签,例如:

 

删除系列的接口

精确删除数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.Delete.html

即用即删接口(专取非重复数据)[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.DropOneByOne.html

自由删除数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeDelete.html

批量ID删除数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.MultiDelete.html

 

删除系列的接口,都会有一个【删】字标签,例如:

修改系列的接口

精确更改数值接口(可加可减)[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.ChangeNumber.html

自由更改数值接口(可加可减)[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeChangeNumber.html

批量四则运算接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeMultiCal.html

“阅后即焚”接口(专取非重复数据)[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreePopOne.html

“阅后即焚”接口拓展(专取多条非重复数据)

http://api.yesapi.cn/docs-api-App.SuperTable.FreePopAll.html

自由更新数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeUpdate.html

万能变更接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.ICanDoIt.html

批量ID更新数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.MultiUpdate.html

精确更新数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.Update.html

 

查找系列的接口

查找这个系列的接口最多,也是平时用得最多的接口。

 

获取总数接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.Count.html

查看表结构[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.Desc.html

分组聚合接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeAF.html

自由获取总数接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeCount.html

全量数据导出TXT或CSV接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeExport.html

自由获取最小值接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeMin.html

自由获取最大值接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeMax.html

自由获取一条数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeFindOne.html

分页查询数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeQuery.html

随机获取一条数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeRandOne.html

自由求和接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.FreeSum.html

获取树状分类数据接口

http://api.yesapi.cn/docs-api-App.SuperTable.FreeTree.html

获取单字段的每日统计报表

http://api.yesapi.cn/docs-api-App.SuperTable.GetFiledDailyDataReport.html

批量ID取数据接口[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.MultiGet.html

通过原始SQL查库[直连版]

http://api.yesapi.cn/docs-api-App.SuperTable.SqlQuery.html

MySQL直连数据库管理

同时,还配套了MySQL数据库管理的工具,使用起来非常简单、方便。

思维脑图

最近,附上一张整理的数据库接口脑图。

 

 

 

 

 

 

 

 

  • 1
    点赞
  • 33
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值