Class: AhrefsAPI::BacklinksNewLost
- Defined in:
- lib/ahrefs_api/backlinks_new_lost.rb
Overview
this API endpoint gives a list of the new/lost links up to 60 days back it supports limit, offset, having
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #from ⇒ Object
-
#get_json(target = :'ahrefs.com', opts = {}) ⇒ Object
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”.
Methods inherited from Base
Constructor Details
This class inherits a constructor from AhrefsAPI::Base
Instance Method Details
#from ⇒ Object
6 7 8 |
# File 'lib/ahrefs_api/backlinks_new_lost.rb', line 6 def from :backlinks_new_lost end |
#get_json(target = :'ahrefs.com', opts = {}) ⇒ Object
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”
17 18 19 20 |
# File 'lib/ahrefs_api/backlinks_new_lost.rb', line 17 def get_json(target = :'ahrefs.com', opts = {}) opts[:target] = target get_data(opts) end |