API → Unit → Convert temperature units
Parameters
Name
Type
Req.
Possible values
celsius
: Celsius <https://en.wikipedia.org/wiki/Celsius>fahrenheit
: Fahrenheit <https://en.wikipedia.org/wiki/Fahrenheit>kelvin
: Kelvin <https://en.wikipedia.org/wiki/Kelvin>rankine
: Rankine <https://en.wikipedia.org/wiki/Rankine_scale>
Possible values
celsius
: Celsius <https://en.wikipedia.org/wiki/Celsius>fahrenheit
: Fahrenheit <https://en.wikipedia.org/wiki/Fahrenheit>kelvin
: Kelvin <https://en.wikipedia.org/wiki/Kelvin>rankine
: Rankine <https://en.wikipedia.org/wiki/Rankine_scale>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
celsius
: Celsius <https://en.wikipedia.org/wiki/Celsius>fahrenheit
: Fahrenheit <https://en.wikipedia.org/wiki/Fahrenheit>kelvin
: Kelvin <https://en.wikipedia.org/wiki/Kelvin>rankine
: Rankine <https://en.wikipedia.org/wiki/Rankine_scale>
Possible values
celsius
: Celsius <https://en.wikipedia.org/wiki/Celsius>fahrenheit
: Fahrenheit <https://en.wikipedia.org/wiki/Fahrenheit>kelvin
: Kelvin <https://en.wikipedia.org/wiki/Kelvin>rankine
: Rankine <https://en.wikipedia.org/wiki/Rankine_scale>
Possible values
queued
: The async API call is queued.uploaded
: The async API call was uploaded to be converted.in_progress
: The async API call is in progress.completed
: The async API call has completed.failed
: The async API call has failed.
get
/unit/conversion/temperature/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/temperature/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2024-12-19T17:50:18.792Z",
"created_at": "2024-12-19T17:50:18.792Z",
"error": "kR17BxPrCZdV22l",
"id": "0abe8aea-6391-489c-95f2-81753fb551c2",
"input": 9,
"input_unit": "kelvin",
"output": 24,
"output_unit": "fahrenheit",
"started_at": "2024-12-19T17:50:18.792Z",
"status": "uploaded",
"updated_at": "2024-12-19T17:50:18.792Z",
"user_id": "41370bb0-17e5-45e0-b1e0-057b7baff50c"
}