我从 Wikipedia 的 API 请求 JSON
响应如下所示:
{
"query": {
"pages": {
"ramdom_number_here": {
"pageid": ramdom_number_here,
"ns": 0,
"title": "Hello",
"extract": "Hello world! Enchanté to meet you"
}
}
}
}
鉴于ramdom_number_here
每个请求都会发生变化(所以我们不知道),如何访问extrac
ortitle
的数据?