curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentaryimport requests
url = "https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary', 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://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"body": "<string>",
"context": [
{
"author_handle": "<string>",
"author_id": "<string>",
"author_name": "<string>",
"depth": 123,
"published_at": 123,
"relation": "<string>",
"status": "<string>",
"text": "<string>",
"url": "<string>"
}
],
"form": "post",
"id": "<string>",
"item_ref": {
"endpoint": "<string>",
"id": "<string>"
},
"own": true,
"person": {
"id": "<string>",
"name": "<string>"
},
"published_at": 123,
"publisher": "<string>",
"quote": "<string>",
"quote_offset_sec": 123,
"quote_speaker": "<string>",
"resolved_speakers": {},
"said_at": 123,
"state": "served",
"title": "<string>",
"turns": [
{
"end_sec": 123,
"speaker": "Arthur Hayes",
"start_sec": 123,
"text": "<string>",
"voice": "spk 3"
}
],
"updated_at": "<string>",
"url": "<string>"
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}Get channel commentary for a person
OpenAPI JSON Spec What a person said in public, collected by polling news sites, video channels, podcast libraries and the person’s own accounts. One row is one page with one sentence the person said on it: who said it (person.id and person.name, the name /v1/persons answers with), the sentence (quote), when they said it (said_at), the page (url, title, published_at, own, publisher, body with include_body, context), and, when Arrays serves the page itself, the endpoint and key of that row (item_ref). A value that is not known is null. For a YouTube video whose audio was transcribed, a row also says which voice said the quote and where (quote_speaker, quote_offset_sec, and quote is then the sentence of the audio transcript), who each voice is (resolved_speakers, the list /v1/other/podcast/transcripts has), and with include_body the whole video turn by turn (turns: each turn’s speaker is its voice’s name when resolved_speakers names the voice, otherwise the voice label, and voice is always the label). A row that was not checked against audio has none of these keys. This route returns the rows that are served now, all with state served, newest published first. A row stops being served, for example when its page turns out to report a remark that another page holds in full, and it is then no longer returned here. The update window of /v1/persons/channel-commentary reports that change, so a consumer that holds the row can drop it (see docs/api/person-channel-commentary-updates.md). No row for a person and day does not mean they said nothing: a remark is stored only when its page can be read and the sentence checked against it.
curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentaryimport requests
url = "https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary', 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://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/persons/{person_id}/channel-commentary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"body": "<string>",
"context": [
{
"author_handle": "<string>",
"author_id": "<string>",
"author_name": "<string>",
"depth": 123,
"published_at": 123,
"relation": "<string>",
"status": "<string>",
"text": "<string>",
"url": "<string>"
}
],
"form": "post",
"id": "<string>",
"item_ref": {
"endpoint": "<string>",
"id": "<string>"
},
"own": true,
"person": {
"id": "<string>",
"name": "<string>"
},
"published_at": 123,
"publisher": "<string>",
"quote": "<string>",
"quote_offset_sec": 123,
"quote_speaker": "<string>",
"resolved_speakers": {},
"said_at": 123,
"state": "served",
"title": "<string>",
"turns": [
{
"end_sec": 123,
"speaker": "Arthur Hayes",
"start_sec": 123,
"text": "<string>",
"voice": "spk 3"
}
],
"updated_at": "<string>",
"url": "<string>"
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}Path Parameters
Person registry id (uuid), as /api/v1/persons returns. Resolve a name with /api/v1/persons?name=...
Query Parameters
Range start, unix seconds
Range end, unix seconds
Page size, 1 to 500
Rows to skip
Return each row's full body; caps limit at 50

