{
"url": "https://blog.cloudflare.com/the-network-is-the-computer/",
"title": "The Network is the Computer",
"byline": null,
"published_time": "2019-07-11T13:00:00.000Z",
"site_name": "Cloudflare Blog",
"lang": "en-us",
"description": "We recently registered the trademark for “The Network is the Computer,” to encompass how Cloudflare is utilizing its network to pave the way for the future of the Internet. The phrase was first coined in 1984 by John Gage, the 21st employee of Sun Microsystems,",
"image": "https://blog.cloudflare.com/_emdash/api/media/file/01KW4597MND1NFEKMM272XF9EF.png",
"excerpt": "Get straight to the interviews:\n\nWe recently registered the trademark for The Network is the Computer®, to encompass how Cloudflare is utilizing its network to pave the way for the future of the Internet.\n\nThe phrase was first coined in 1984 by John Gage, the 21st employee of…",
"word_count": 548,
"reading_time_min": 2,
"truncated": true,
"markdown": "*Get straight to the interviews:*\n\nWe recently registered the trademark for The Network is the Computer®, to encompass how Cloudflare is utilizing its network to pave the way for the future of the Internet.\n\nThe phrase was first coined in 1984 by John Gage, the 21st employee of Sun Microsystems, where he was credited with building Sun’s vision around “The Network is the Computer.” When Sun was acq",
"text": "Get straight to the interviews:\n\nWe recently registered the trademark for The Network is the Computer®, to encompass how Cloudflare is utilizing its network to pave the way for the future of the Internet.\n\nThe phrase was first coined in 1984 by John Gage, the 21st employee of Sun Microsystems, where he was credited with building Sun’s vision around “The Network is the Computer.” When Sun was acqui",
"status": 200,
"content_type": "text/html"
}
curl --location --request GET 'https://zylalabs.com/api/14315/article+extractor+and+url+to+markdown+api/35883/extract+article?url=https://blog.cloudflare.com/the-network-is-the-computer/&max_chars=400' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 文章提取器和网址转Markdown API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
提取文章端点返回文章的主要内容,包括干净的Markdown和纯文本,以及元数据,例如标题、作者、发布时间、网站名称、语言、图像、字数和阅读时间
响应中的关键字段包括“url”“title”“byline”“published_time”“site_name”“lang”“description”“image”“word_count”和“reading_time_min”提供了关于文章的全面细节
响应数据以JSON格式结构化,每个字段表示关于文章的特定信息。例如,“title”提供文章标题,而“word_count”表示总字数
端点提供的信息包括文章标题、作者(如有)、发布日期、网站名称、语言、简要描述、图像 URL、字数和估计阅读时间
用户可以通过在GET请求中指定文章URL来定制他们的请求。API处理该URL以提取相关内容和元数据,确保根据提供的链接生成定制的输出
典型的用例包括将文章转换为大型语言模型 整合内容到检索增强生成系统 为读者创建摘要 生成干净的文本以便进行进一步分析或展示而不受广告或评论等干扰
数据准确性通过直接从指定的 URL 中提取内容来维持,确保返回的信息尽可能地反映原始文章,去除任何多余的元素,比如广告或导航
用户可以通过利用返回的数据中的结构化字段来进行各种应用,例如显示文章摘要、使用“word_count”分析内容长度或使用“reading_time_min”估计阅读时间