0.0
Low commit activity in last 3 years
No release in over a year
hikvision openapi for ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.4.1
 Project Readme

Usage

@client = HikOpenapi::Client.new do |config|
  config.host = "https://192.168.3.230"
  config.prefix = "/artemis"
  config.app_key = "app_key"
  config.app_secret = "app_secret"
  config.proxy = { host: "127.0.0.1", port: 8123 }
end

params = {
  'cameraIndexCode': [url],
  'streamType':      0,
  'protocol':        [video_type],
  'transmode':       0,
  'expand':          "transcode=0",
}

res = @client.post("/api/video/v1/cameras/previewURLs", params)