apify

How to call Apify Google Search Scrapper Task Using JQuery/Ajax?

你。 提交于 2019-12-02 09:12:12
I am learning to use apify/google-search-scraper through their API call. The document is given here . I am bit confused with their documentation as I am new. Especially I need the help to configure the call. It $.ajax({ url : '', method : "POST", contentType: "application/json; charset=utf-8", data : { }, success:function(response) { console.log(response.data); } }); url : what should I write here? data : Should I pass parameters here? Thanks in advance. You need to use run task API endpoint to run it. You can use synchronous run same as asynchronous. If you want to run the endpoint using AJAX