示例记录:
"resources": [
{
"cache_last_updated": null,
"cache_url": null,
"mimetype_inner": "",
"hash": "9d599bcf3b8db2b5c6aea528bc37d728c856b09c",
"description": "CSV file extracted and cleaned from source excel.",
"format": "CSV",
"url": "https://raw.github.com/datasets/gold-prices/master/data/data.csv",
"created": "2017-07-18T13:16:40.728715",
"state": "active",
"package_id": "9cbdb9a8-b78d-449e-8342-46fb581a1e17",
"last_modified": "2012-05-04T12:40:59.181686",
"mimetype": "text/plain",
"url_type": null,
"position": 0,
"revision_id": "007398e3-a1fc-4a31-821e-a77b9057f796",
"size": "14502",
"datastore_active": true,
"id": "b9aae52b-b082-4159-b46f-7bb9c158d013",
"resource_type": "file",
"name": "CSV "
}
],
API 文档说:
key example Notes hash null Hash of the data e.g. SHA1
例如,SHA1 并没有让我走得太远。如果我不知道使用什么算法来计算它,我就无法检查它。
查看源代码也没有启发我。它似乎是一个自由文本字段,所以我猜上传者可以将其设置为他们想要的任何内容但大概它是为某人使用而设计的,所以它必须被传达。
这是一个空字符串的示例。s