Get AFL Game Player Statistics
curl --request POST \
--url https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2023-07-15",
"id": 2952,
"ids": "2952-2953-2954",
"timezone": "Europe/London"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players"
payload = {
"date": "2023-07-15",
"id": 2952,
"ids": "2952-2953-2954",
"timezone": "Europe/London"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({date: '2023-07-15', id: 2952, ids: '2952-2953-2954', timezone: 'Europe/London'})
};
fetch('https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '2023-07-15',
'id' => 2952,
'ids' => '2952-2953-2954',
'timezone' => 'Europe/London'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players"
payload := strings.NewReader("{\n \"date\": \"2023-07-15\",\n \"id\": 2952,\n \"ids\": \"2952-2953-2954\",\n \"timezone\": \"Europe/London\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"2023-07-15\",\n \"id\": 2952,\n \"ids\": \"2952-2953-2954\",\n \"timezone\": \"Europe/London\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"2023-07-15\",\n \"id\": 2952,\n \"ids\": \"2952-2953-2954\",\n \"timezone\": \"Europe/London\"\n}"
response = http.request(request)
puts response.read_body{
"errors": {},
"get": "<string>",
"parameters": {},
"response": [
{
"game": {
"id": 123
},
"teams": [
{
"players": [
{
"behinds": 123,
"clearances": 123,
"disposals": 123,
"free_kicks": {
"against": 123,
"for": 123
},
"goals": {
"assists": 123,
"total": 123
},
"handballs": 123,
"hitouts": 123,
"kicks": 123,
"marks": 123,
"player": {
"id": 123,
"number": 123
},
"tackles": 123
}
],
"team": {
"id": 123
}
}
]
}
],
"results": 123
}API-Sports
Get AFL Game Player Statistics
Get AFL Game Player Statistics
POST
https://api.aisa.one
/
apis
/
v1
/
api-sports
/
get-afl-games-statistics-players
Get AFL Game Player Statistics
curl --request POST \
--url https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date": "2023-07-15",
"id": 2952,
"ids": "2952-2953-2954",
"timezone": "Europe/London"
}
'import requests
url = "https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players"
payload = {
"date": "2023-07-15",
"id": 2952,
"ids": "2952-2953-2954",
"timezone": "Europe/London"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({date: '2023-07-15', id: 2952, ids: '2952-2953-2954', timezone: 'Europe/London'})
};
fetch('https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date' => '2023-07-15',
'id' => 2952,
'ids' => '2952-2953-2954',
'timezone' => 'Europe/London'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players"
payload := strings.NewReader("{\n \"date\": \"2023-07-15\",\n \"id\": 2952,\n \"ids\": \"2952-2953-2954\",\n \"timezone\": \"Europe/London\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"date\": \"2023-07-15\",\n \"id\": 2952,\n \"ids\": \"2952-2953-2954\",\n \"timezone\": \"Europe/London\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date\": \"2023-07-15\",\n \"id\": 2952,\n \"ids\": \"2952-2953-2954\",\n \"timezone\": \"Europe/London\"\n}"
response = http.request(request)
puts response.read_body{
"errors": {},
"get": "<string>",
"parameters": {},
"response": [
{
"game": {
"id": 123
},
"teams": [
{
"players": [
{
"behinds": 123,
"clearances": 123,
"disposals": 123,
"free_kicks": {
"against": 123,
"for": 123
},
"goals": {
"assists": 123,
"total": 123
},
"handballs": 123,
"hitouts": 123,
"kicks": 123,
"marks": 123,
"player": {
"id": 123,
"number": 123
},
"tackles": 123
}
],
"team": {
"id": 123
}
}
]
}
],
"results": 123
}请求规范
- 方法与路径: POST /apis/v1/api-sports/get-afl-games-statistics-players
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/api-sports/get-afl-games-statistics-players
{
"operationId": "api-sports.get-afl-games-statistics-players",
"method": "POST",
"path": "/apis/v1/api-sports/get-afl-games-statistics-players",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"date": {
"description": "Date to retrieve player statistics for (format: YYYY-MM-DD). At least one of: id, ids, or date must be provided.",
"examples": [
"2023-07-15"
],
"type": "string"
},
"id": {
"description": "The id of the game. At least one of: id, ids, or date must be provided.",
"examples": [
2952
],
"type": "integer"
},
"ids": {
"description": "Up to 10 game IDs separated by hyphens (format: id-id-id). At least one of: id, ids, or date must be provided.",
"examples": [
"2952-2953-2954"
],
"type": "string"
},
"timezone": {
"description": "Timezone for the returned games, such as Europe/London.",
"examples": [
"Europe/London"
],
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.000367 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json