Documentation
¶
Index ¶
Constants ¶
View Source
const BASE_URL string = "https://svcipp.planex.co.jp/api/get_data.php"
View Source
const DEVICE_NAME string = "WS-USB01-THP"
Variables ¶
This section is empty.
Functions ¶
func BuildEndpoint ¶
func GetRequest ¶
Types ¶
type SensorData ¶
type SensorData struct {
Date string `json:"date"`
Thermal float64 `json:"thermal"`
Humidity float64 `json:"humidity"`
Pressure float64 `json:"pressure"`
}
func ParseJson ¶
func ParseJson(in string) []SensorData
Click to show internal directories.
Click to hide internal directories.