groov View Public API
opto22 · IoT
#### Revised: 2019-11-21 ### Overview groov View Public API revision 1.
Authentication
Sample Requests
Get information about groov View. No authorization required.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/info"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/info",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/info'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/info"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/info")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/info";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Get information about the user you are authenticated as. Authorized for admins, editors, operators, and kiosk.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/whoami"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/whoami",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/whoami'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/whoami"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/whoami")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/whoami";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Downloads the complete groov View log in JSON format. Added in groov View R4.2a.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/v1/logging/groovLogs.json?filter=example&last-timestamp=0&minimum-log-level=INFO"
import requests
params = {
"filter": "example",
"last-timestamp": "0",
"minimum-log-level": "INFO"
}
response = requests.get(
"https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/v1/logging/groovLogs.json",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/v1/logging/groovLogs.json');
url.searchParams.set('filter', 'example');
url.searchParams.set('last-timestamp', '0');
url.searchParams.set('minimum-log-level', 'INFO');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/v1/logging/groovLogs.json")
q := baseURL.Query()
q.Set("filter", "example")
q.Set("last-timestamp", "0")
q.Set("minimum-log-level", "INFO")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/v1/logging/groovLogs.json")
uri.query = URI.encode_www_form({
"filter" => "example",
"last-timestamp" => "0",
"minimum-log-level" => "INFO"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/opto22.com/groov/R4.2a/v1/logging/groovLogs.json?" . http_build_query([
"filter" => "example",
"last-timestamp" => "0",
"minimum-log-level" => "INFO"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with groov View Public API?
groov View Public API is a IoT API. Developers commonly use iot APIs for:
- collecting and streaming sensor and device data
- monitoring and controlling connected devices
- building smart-home and industrial dashboards
- processing device telemetry at scale
- automating device provisioning and alerting
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. groov View Public API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide