Webhose.io

Written By Brian Sathinathan (Super Administrator)

Updated at October 9th, 2020

Description

The Webhose.io API provides access to structured web data feeds across vertical content domains. Our crawlers download the web, structure the data and index it into domain-specific repositories you can access on demand. This component allows the user to pass a string query containing the filters that define which posts will be returned.


Code For Above Flow

[{"id":"51338203.54ca4c","type":"webhoseio","z":"8cf3db3c.c92288","name":"","tokens":"","Topic":"","x":330,"y":440,"wires":[["d05e6cfe.9a26d"]]},{"id":"a0788dd0.a5c6e","type":"inject","z":"8cf3db3c.c92288","name":"","topic":"","payload":"(ipod OR ipad) -android","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":440,"wires":[["51338203.54ca4c"]]},{"id":"d05e6cfe.9a26d","type":"console","z":"8cf3db3c.c92288","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":490,"y":440,"wires":[]}]

Input

payload (string)A string query containing the filters that define which posts will be returned.(Find any post containing either ipod or ipad, but not android:(ipod OR ipad) -android)

Parameters

Token(string)Your private access token. You get a unique access token when you sign up.

Output

payload (object)The output includes 3 sections. The “Meta Info” provides information concerning API consumption and the request itself. The “Thread Object” provides information about the complete thread (e.g. full article text and associated comments). The “Post Object” includes information about a particular post in a thread. A post could be the article, i.e the first post, or a comment to the article.


Was this article helpful?