Get parameter groups
curl --request GET \
--url http://pinpoint.devops.arabiaweather.com/groupsimport requests
url = "http://pinpoint.devops.arabiaweather.com/groups"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://pinpoint.devops.arabiaweather.com/groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://pinpoint.devops.arabiaweather.com/groups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://pinpoint.devops.arabiaweather.com/groups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://pinpoint.devops.arabiaweather.com/groups")
.asString();require 'uri'
require 'net/http'
url = URI("http://pinpoint.devops.arabiaweather.com/groups")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"surface": [
"surface.temperature",
"surface.gust",
"surface.real_feel_temperature",
"surface.relative_humidity",
"surface.wind_speed",
"surface.pressure",
"surface.visibility",
"surface.wind_direction"
],
"clouds": [
"clouds.low_cover",
"clouds.medium_cover",
"clouds.high_cover",
"clouds.total_cover",
"clouds.convective_cover"
],
"mobileapp.v1": [
"surface.temperature",
"surface.real_feel_temperature",
"surface.relative_humidity",
"surface.wind_speed",
"surface.wind_direction",
"surface.pressure",
"status_id"
]
}parameters
Get parameter groups
Returns information about parameter groups used in the API
GET
/
groups
Get parameter groups
curl --request GET \
--url http://pinpoint.devops.arabiaweather.com/groupsimport requests
url = "http://pinpoint.devops.arabiaweather.com/groups"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://pinpoint.devops.arabiaweather.com/groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://pinpoint.devops.arabiaweather.com/groups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://pinpoint.devops.arabiaweather.com/groups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://pinpoint.devops.arabiaweather.com/groups")
.asString();require 'uri'
require 'net/http'
url = URI("http://pinpoint.devops.arabiaweather.com/groups")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"surface": [
"surface.temperature",
"surface.gust",
"surface.real_feel_temperature",
"surface.relative_humidity",
"surface.wind_speed",
"surface.pressure",
"surface.visibility",
"surface.wind_direction"
],
"clouds": [
"clouds.low_cover",
"clouds.medium_cover",
"clouds.high_cover",
"clouds.total_cover",
"clouds.convective_cover"
],
"mobileapp.v1": [
"surface.temperature",
"surface.real_feel_temperature",
"surface.relative_humidity",
"surface.wind_speed",
"surface.wind_direction",
"surface.pressure",
"status_id"
]
}Response
200 - application/json
Parameter groups information
Parameter groups where keys are group names and values are arrays of parameter names
List of parameters in the group
Parameter name
⌘I

