关于API:
这个API使用抓取技术来获取给定URL中包含的文本。
传递您想要获取文本的URL,并接收可以直接使用的文本。
对于那些希望从其他网站或博客中提取文本的内容创作者来说,这是一个很好的API。
理想情况下可以快速从多个网站检索信息。
获取文章或新闻的文本供您使用。
除了每月的API调用限制外,没有其他限制。
请传递您希望获取文本的URL。请记住,所提供的URL必须超过500个字符。
获取文本 - 端点功能
| 对象 | 描述 |
|---|---|
url |
[必需] The URL to scrape the content from. |
{"error":0,"message":"Article extraction success","data":{"url":"https://zylalabs.com/api-marketplace/machine+learning/get+keywords+from+image+api/823","title":"Get Keywords From Image API","description":"About the API:This API will run machine learning models to extract keywords from a given image.\nWhat this API receives and what your API provides (input/output)?\nPass the Image URL and receive a JSON with all the recognized Tags and the matching score for those keywords as well.\nThis API will help you to sort your images by keywords.\nThis API also will help you recognize the objects within an image....","links":["https://zylalabs.com/api-marketplace/machine+learning/get+keywords+from+image+api/823"],"image":"https://zylalabs.com/img/preview.png","content":"<div><p></p><p><strong>About the API:</strong></p>\n<p>This API will run machine learning models to extract keywords from a given image. This is ideal to have a better understanding of your image content. </p>\n<p> </p>\n<h4>What this API receives and what your API provides (input/output)?</h4>\n<p>Pass the Image URL and receive a JSON with all the recognized Tags and the matching score for those keywords as well.  </p>\n<p> </p>\n<h4>What are the most common uses cases of this API?</h4>\n<p> </p>\n<p>This API will help you to sort your images by keywords. Also, is a good fit for those who want to extract potential keywords related to a topic included in a picture. </p>\n<p>This API also will help you recognize the objects within an image. </p>\n<p> </p>\n<h4 class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\"><p class=\"Y2IQFc\" lang=\"en\">Are there any limitations to your plans?</p></h4>\n<p>Besides API call limitations per month, there are no other limitations.</p>\n</div>","author":null,"favicon":"https://www.zylalabs.com/img/favicon_zyla.png","source":"zylalabs.com","published":"Unknown Date","ttr":0.62,"plain_text":"About the API:\n\nThis API will run machine learning models to extract keywords from a given image. This is ideal to have a better understanding of your image content.\n\nWhat this API receives and what your API provides (input/output)?\n\nPass the Image URL and receive a JSON with all the recognized Tags and the matching score for those keywords as well.\n\nWhat are the most common uses cases of this API?\n\nThis API will help you to sort your images by keywords. Also, is a good fit for those who want to extract potential keywords related to a topic included in a picture.\n\nThis API also will help you recognize the objects within an image.\n\nAre there any limitations to your plans?\n\nBesides API call limitations per month, there are no other limitations.","ttr_disclaimer":"Assuming 200 wpm reading speed"}}
curl --location --request GET 'https://zylalabs.com/api/835/text+extractor+from+url+api/601/get+text?url=https://zylalabs.com/api-marketplace/machine+learning/get+keywords+from+image+api/823' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
获取文本端点返回从指定URL提取的主要文本内容,不包括导航、评论、标题和页脚。响应包括诸如标题、描述和页面主要内容等字段
响应数据中的关键字段包括“error”(指示成功或失败)“message”(提供状态信息)“data”(包含提取的内容)“url”(源网址)“title”“description”和“content”
响应数据以JSON格式组织。它包含一个顶级对象,其中有“error”和“message”字段,后面是一个“data”对象,包含提取的文本、标题、描述和与内容相关的链接
获取文本端点提供的信息包括主要文章或博客内容 页面的标题 简要描述以及任何相关链接 它仅专注于来自指定URL的文本数据
用户可以通过指定不同的URL来自定义他们的数据请求,以便提取文本。但是,URL必须超过500个字符才能被API处理
数据直接来源于用户提供的指定网址 API采用网络爬虫技术提取文本内容 确保只获取相关信息
数据的准确性通过抓取过程得以保持,该过程针对特定的HTML元素提取文本。然而,准确性可能会根据源网页的结构和内容而有所不同
典型的使用案例包括内容创作 研究以及从文章或博客中检索信息 用户可以快速收集文本用于摘要 分析或从多个来源中策划内容
服务级别:
100%
响应时间:
3,208ms
服务级别:
100%
响应时间:
10,154ms
服务级别:
100%
响应时间:
1,711ms
服务级别:
100%
响应时间:
884ms
服务级别:
100%
响应时间:
4,048ms
服务级别:
100%
响应时间:
1,374ms
服务级别:
100%
响应时间:
15,077ms
服务级别:
100%
响应时间:
792ms
服务级别:
100%
响应时间:
3,976ms
服务级别:
100%
响应时间:
7,660ms