Skip to content

visable-dev/data_for_seo

Repository files navigation

DataForSeo

Hex version badge HexDocs

DataForSeo client library for Elixir.

It only supports very limited set of functions yet. Refer to data_for_seo.ex for available functions and examples.

Docs

Docs can be found at https://hexdocs.pm/data_for_seo

Installation

The package can be installed by adding data_for_seo to your list of dependencies in mix.exs:

def deps do
  [
    {:data_for_seo, "~> 0.6.0"}
  ]
end

Configuration

Add to your config.exs and make sure the ENVs below are set.

config :data_for_seo, :api,
  base_url: "https://api.dataforseo.com",
  login: System.get_env("DATAFORSEO_LOGIN"),
  password: System.get_env("DATAFORSEO_PASSWORD"),
  pool_timeout: System.get_env("POOL_TIMEOUT"),
  receive_timeout: System.get_env("RECEIVE_TIMEOUT")