纳米体育数据足球数据接口:统计数据包接口文档API示例⑦

2024-04-02 13:20

本文主要是介绍纳米体育数据足球数据接口:统计数据包接口文档API示例⑦,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

纳米体育数据的数据接口通过JSON拉流方式获取200多个国家的体育赛事实时数据或历史数据的编程接口,无请求次数限制,可按需购买,接口稳定高效;覆盖项目包括足球、篮球、网球、电子竞技、奥运等专题、数据内容。

纳米数据API2.0版本包含http协议以及websocket协议,主要通过http获取数据,实时数据通过websocket获取。

http协议支持http和https,每个接口都需要传递用户名和密钥用于验证接口权限,白名单ip才能够获取相关数据。


以下为纳米足球数据接口文档中足球——统计数据包——获取赛事统计详情接口文档展示:

获取赛事统计详情

返回查询赛事最新赛季的球队球员统计详情数据(球员统计、射手榜、球队统计)
请求次数:120次/min

说明:
由于球员存在赛事内转会情况,球员统计中会存在一个球员有多条数据,所在球队不同的情况,表示该球员在不同球队的数据,可合并处理

请求参数:TREE

  • userstring

    用户名,请联系商务

  • secretstring

    用户密钥,请联系商务

  • idinteger

    赛事id

返回参数:TREE

{

code:

integer

results: {

统计数据

players_stats:[

球员数据字段说明

 {

球员数据

player_id: integer

球员id

team_id: integer

球队id

matches: integer

比赛场次

court: integer

上场场次

first: integer

首发

goals: integer

进球

penalty: integer

点球

assists: integer

助攻

minutes_played: integer

出场时间(分钟)

red_cards: integer

红牌

yellow_cards: integer

黄牌

shots: integer

射门

shots_on_target: integer

射正

dribble: integer

过人

dribble_succ: integer

过人成功

clearances: integer

解围

blocked_shots: integer

有效阻挡

interceptions: integer

拦截

tackles: integer

抢断

passes: integer

传球

passes_accuracy: integer

传球成功

key_passes: integer

关键传球

crosses: integer

传中球

crosses_accuracy: integer

传中球成功

long_balls: integer

长传

long_balls_accuracy: integer

成功长传

duels: integer

1对1拼抢

duels_won: integer

1对1拼抢成功

dispossessed: integer

传球被断

fouls: integer

犯规

was_fouled: integer

被侵犯

offsides: integer

越位

yellow2red_cards: integer

两黄变红

saves: integer

扑救

punches: integer

拳击球

runs_out: integer

守门员出击

runs_out_succ: integer

守门员出击成功

good_high_claim: integer

高空出击

freekicks: integer

任意球

freekick_goals: integer

任意球得分

hit_woodwork: integer

击中门框

fastbreaks: integer

快攻

fastbreak_shots: integer

快攻射门

fastbreak_goals: integer

快攻进球

poss_losts: integer

丢失球权

rating: integer

评分,10为满分,为了避免浮点数影响,x100倍存储为整数,eg:计算场均评分为(12170/16/100=7.60)

}]shooters:[

射手榜数据字段说明

 {

射手榜数据

position: integer

排名

player_id: integer

球员id

team_id: integer

球队id

goals: integer

进球

penalty: integer

点球

assists: integer

助攻

minutes_played: integer

出场时间(分钟)

}]teams_stats:[

球队数据字段说明

 {

球队数据

team_id: integer

球队id

matches: integer

比赛场次

goals: integer

进球

penalty: integer

点球

assists: integer

助攻

red_cards: integer

红牌

yellow_cards: integer

黄牌

shots: integer

射门

shots_on_target: integer

射正

dribble: integer

过人

dribble_succ: integer

过人成功

clearances: integer

解围

blocked_shots: integer

有效阻挡

tackles: integer

抢断

passes: integer

传球

passes_accuracy: integer

传球成功

key_passes: integer

关键传球

crosses: integer

传中球

crosses_accuracy: integer

传中球成功

long_balls: integer

长传

long_balls_accuracy: integer

成功长传

duels: integer

1对1拼抢

duels_won: integer

1对1拼抢成功

fouls: integer

犯规

was_fouled: integer

被侵犯

goals_against: integer

失球

interceptions: integer

拦截

offsides: integer

越位

yellow2red_cards: integer

两黄变红

corner_kicks: integer

角球

ball_possession: integer

控球率

freekicks: integer

任意球

freekick_goals: integer

任意球得分

hit_woodwork: integer

击中门框

fastbreaks: integer

快攻

fastbreak_shots: integer

快攻射门

fastbreak_goals: integer

快攻进球

poss_losts: integer

丢失球权

}]season_id: integer

赛季id

}

这篇关于纳米体育数据足球数据接口:统计数据包接口文档API示例⑦的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/870096

相关文章

详解SpringBoot+Ehcache使用示例

《详解SpringBoot+Ehcache使用示例》本文介绍了SpringBoot中配置Ehcache、自定义get/set方式,并实际使用缓存的过程,文中通过示例代码介绍的非常详细,对大家的学习或者... 目录摘要概念内存与磁盘持久化存储:配置灵活性:编码示例引入依赖:配置ehcache.XML文件:配置

Linux下利用select实现串口数据读取过程

《Linux下利用select实现串口数据读取过程》文章介绍Linux中使用select、poll或epoll实现串口数据读取,通过I/O多路复用机制在数据到达时触发读取,避免持续轮询,示例代码展示设... 目录示例代码(使用select实现)代码解释总结在 linux 系统里,我们可以借助 select、

Java高效实现PowerPoint转PDF的示例详解

《Java高效实现PowerPoint转PDF的示例详解》在日常开发或办公场景中,经常需要将PowerPoint演示文稿(PPT/PPTX)转换为PDF,本文将介绍从基础转换到高级设置的多种用法,大家... 目录为什么要将 PowerPoint 转换为 PDF安装 Spire.Presentation fo

MySQL中C接口的实现

《MySQL中C接口的实现》本节内容介绍使用C/C++访问数据库,包括对数据库的增删查改操作,主要是学习一些接口的调用,具有一定的参考价值,感兴趣的可以了解一下... 目录准备mysql库使用mysql库编译文件官方API文档对象的创建和关闭链接数据库下达sql指令select语句前言:本节内容介绍使用C/

使用EasyPoi快速导出Word文档功能的实现步骤

《使用EasyPoi快速导出Word文档功能的实现步骤》EasyPoi是一个基于ApachePOI的开源Java工具库,旨在简化Excel和Word文档的操作,本文将详细介绍如何使用EasyPoi快速... 目录一、准备工作1、引入依赖二、准备好一个word模版文件三、编写导出方法的工具类四、在Export

Python中isinstance()函数原理解释及详细用法示例

《Python中isinstance()函数原理解释及详细用法示例》isinstance()是Python内置的一个非常有用的函数,用于检查一个对象是否属于指定的类型或类型元组中的某一个类型,它是Py... 目录python中isinstance()函数原理解释及详细用法指南一、isinstance()函数

python中的高阶函数示例详解

《python中的高阶函数示例详解》在Python中,高阶函数是指接受函数作为参数或返回函数作为结果的函数,下面:本文主要介绍python中高阶函数的相关资料,文中通过代码介绍的非常详细,需要的朋... 目录1.定义2.map函数3.filter函数4.reduce函数5.sorted函数6.自定义高阶函数

利用Python操作Word文档页码的实际应用

《利用Python操作Word文档页码的实际应用》在撰写长篇文档时,经常需要将文档分成多个节,每个节都需要单独的页码,下面:本文主要介绍利用Python操作Word文档页码的相关资料,文中通过代码... 目录需求:文档详情:要求:该程序的功能是:总结需求:一次性处理24个文档的页码。文档详情:1、每个

Vue实现路由守卫的示例代码

《Vue实现路由守卫的示例代码》Vue路由守卫是控制页面导航的钩子函数,主要用于鉴权、数据预加载等场景,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着... 目录一、概念二、类型三、实战一、概念路由守卫(Navigation Guards)本质上就是 在路

JAVA实现Token自动续期机制的示例代码

《JAVA实现Token自动续期机制的示例代码》本文主要介绍了JAVA实现Token自动续期机制的示例代码,通过动态调整会话生命周期平衡安全性与用户体验,解决固定有效期Token带来的风险与不便,感兴... 目录1. 固定有效期Token的内在局限性2. 自动续期机制:兼顾安全与体验的解决方案3. 总结PS