Icon

Google Search Console - Get data via API - public

Google_Search_Console_API

URL: Forum Post https://forum.knime.com/t/having-difficulties-setting-up-post-request-to-google-api-requiring-oauth2-0/30000

Y ou can use this workflow to load your website's Googlesearch data into Knime, via the Google Search API.(Based on the 'Google_Search_Console_API' workflow byPhilipp Katz) BuildAuthorization header (based on theretrieved access_token)Create the request URLSpecify HTTP method “POST”GetdataSERPdataTake the *refresh token*and exchange it fora fresh access tokenSet: API Key,API secret,ScopeSet yoursite URLsLoop forevery site URLsSet start andend dateDate asstringsQuerystart dateend datejsonstep 1jsonstep 2SERPdata ina csv file String Manipulation String Manipulation String Manipulation Column Appender HTTP Retriever Parse JSON Response Table View(JavaScript) Column Filter Get Access Token OAuth Connector Table Creator Table Row toVariable Loop Start Loop End Date&TimeConfiguration Variable toTable Row Column Expressions ContainerInput (JSON) JSON to Table Table Rowto Variable Cell Updater Cell Updater Table to JSON Column Filter CSV Writer You can use this workflow to load your website's Googlesearch data into Knime, via the Google Search API.(Based on the 'Google_Search_Console_API' workflow byPhilipp Katz) BuildAuthorization header (based on theretrieved access_token)Create the request URLSpecify HTTP method “POST”GetdataSERPdataTake the *refresh token*and exchange it fora fresh access tokenSet: API Key,API secret,ScopeSet yoursite URLsLoop forevery site URLsSet start andend dateDate asstringsQuerystart dateend datejsonstep 1jsonstep 2SERPdata ina csv file String Manipulation String Manipulation String Manipulation Column Appender HTTP Retriever Parse JSON Response Table View(JavaScript) Column Filter Get Access Token OAuth Connector Table Creator Table Row toVariable Loop Start Loop End Date&TimeConfiguration Variable toTable Row Column Expressions ContainerInput (JSON) JSON to Table Table Rowto Variable Cell Updater Cell Updater Table to JSON Column Filter CSV Writer

Nodes

Extensions

Links