DataForSeo v0.1.1 DataForSeo.API.Serp View Source

Provides SERP API interfaces.

Link to this section Summary

Functions

Gets completed tasks. All returned tasks are then removed from completed list. So be sure to save and process them.

Gets result for a single task.

Link to this section Functions

Gets completed tasks. All returned tasks are then removed from completed list. So be sure to save and process them.

Examples

DataForSeo.API.Serp.completed_tasks()
Link to this function

create_tasks(keys_with_post_ids, se_language, loc_name_canonical, se_name, optional_params \\ [])

View Source

Creates a task for each key.

Options

The keys_with_post_ids is a map with the key => post_id. You will need post_id later to find your result in the completed tasks.

  • :global - configuration is shared for all processes.
  • :process - configuration is isolated for each process.

Examples

DataForSeo.API.Serp.create_tasks(%{"Schrauben" => 123987}, "German", "20537,Hamburg,Germany", "google.de")

Gets result for a single task.

Examples

DataForSeo.API.Serp.completed_tasks()