https://github.com/gabeduke/wio-mock
Mock API server for Wio sensor data
https://github.com/gabeduke/wio-mock
Last synced: 6 months ago
JSON representation
Mock API server for Wio sensor data
- Host: GitHub
- URL: https://github.com/gabeduke/wio-mock
- Owner: gabeduke
- Created: 2019-11-29T04:10:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-03T04:10:06.000Z (over 6 years ago)
- Last Synced: 2023-03-05T19:48:49.942Z (over 3 years ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wio-Mock
Wio-mock is a small server that mocks the response for wio sensor data so that it may be developed against without the need for an API key.
## Usage
### Run
### Scratch
```json
{
"name": "leetNode1",
"well_known": [
"GET /v1/node/GroveBaroBMP085I2C1/temperature -> float temperature",
"GET /v1/node/GroveBaroBMP085I2C1/altitude -> float altitude",
"GET /v1/node/GroveBaroBMP085I2C1/pressure -> int32_t pressure",
"GET /v1/node/GroveTempHumD0/humidity -> float humidity",
"GET /v1/node/GroveTempHumD0/temperature -> float celsius_degree",
"GET /v1/node/GroveTempHumD0/temperature_f -> float fahrenheit_degree"
]
}
```
```json
{
"name": "leetNode2",
"well_known": [
"GET /v1/node/GroveAirqualityA0/quality -> int quality",
"GET /v1/node/GroveDigitalLightI2C0/lux -> uint32_t lux"
]
}
```