Sha256: 1485a8aa9b52d9eb6c9be0c1daec91efb53cbbd8c82b7bd4649ac66dc0cc2879
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
module SpyFu module Api class Url < Base # More information: https://www.spyfu.com/api/docs/url BASE_ENDPOINT = 'url_api' # Get paid data from url def paid_kws(params) # Adjust params for backward compatibility if !params[:bgdsv].nil? params[:egdsv] = params[:bgdsv] params.delete(:bgdsv) end if !params[:bldsv].nil? params[:eldsv] = params[:bldsv] params.delete(:bldsv) end send_get "paid_kws", params end # Get organic data from url def organic_kws(params) # Adjust params for backward compatibility if !params[:blmsv].nil? params[:elmsv] = params[:blmsv] params.delete(:blmsv) end if !params[:bgmsv].nil? params[:egmsv] = params[:bgmsv] params.delete(:bgmsv) end send_get "organic_kws", params end # Get paid estimates from url def paid_estimates(params) send_get "paid_estimates", params end # Get organic estimates from url def organic_estimates(params) send_get "organic_estimates", params end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spyfu-0.1.0 | lib/spyfu/api/url.rb |