Sha256: 1349b99c0ec05e7f360ee54c2526044a655fb08484287bb9ed85eb17b0d955b4
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
## Usage ```ruby @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 } if Rails.env.development? end params = { 'cameraIndexCode': [url], 'streamType': 0, 'protocol': [video_type], 'transmode': 0, 'expand': "transcode=0", } res = @client.post("/api/video/v1/cameras/previewURLs", params) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hik_openapi-0.2 | README.md |