class AhrefsAPI::Backlinks

this API endpoint gives a list of the new/lost links up to 60 days back it supports limit, offset, having

Public Instance Methods

from() click to toggle source
# File lib/ahrefs_api/backlinks.rb, line 6
def from
  :backlinks
end
get_json(target = :'ahrefs.com', opts = {}) click to toggle source

give options as a hash possible options: limit ==> limits the number of returned results select ==> only hands you back the selected columns offset ==> having ==> where ==> accepts type:“new”/type:“lost” and date:“2013-05-26”

# File lib/ahrefs_api/backlinks.rb, line 17
def get_json(target = :'ahrefs.com', opts = {})
  opts[:target] = target
  get_data(opts)
end