Sha256: b4c93b42a7c4598eef78bd64b85b6091aea45cb80040e79b36aa0a8c82a85675

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

module Arlo
  class API
    def get_library(token, from_date, to_date)
      payload = {
        "dateFrom": "20180802",
        "dateTo": "20180803"
      }
      library = post('https://arlo.netgear.com/hmsweb/users/library', payload, token)
      JSON.parse(library.body)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arlo-0.0.3 lib/arlo/library.rb