OpenWeatherMap on Ably Hub 1.0.0

GTFS-R data on OpenWeatherMap

Contact link: Ably Contact email: support@ably.io

Servers

ws://realtime.ably.io ws

Endpoint used by Ably's Realtime client libraries

Security:
  • API key:

    Provide your API key

    In: user
  • HTTP:

    JWT generated matching the Ably JWT requirements

    | JWT bearer Header: Authorization
  • HTTP: No description bearer
mqtt://mqtt.ably.io:{port} mqtt 3.1.1

Ably's MQTT endpoint

port: Secure connection (TLS) is available through port 8883.
ENUM: 1883, 8883 DEFAULT: 8883
Security:
  • API key:

    Provide your API key's public part as the user and the API key's secret part as the password. Only usable over a secure connection.

    In: user
  • HTTP:

    JWT generated matching the Ably JWT requirements. Use the token as your user, and keep the password blank

    | JWT bearer Header: Authorization
https://rest.ably.io https

Ably REST API

Operations

Sub [product:ably-openweathermap/weather]weather:{cityId}

City's weather details

Parameters
cityId
required
integer

Id of the city

Accepts the following message:

<anonymous-message-1>

Payload
object
coord coord
object
lon
number

Measurement location's longitude

lat
number

Measurement location's latitude

Additional properties are allowed.

weather
array<object>
id
integer

Weather's id

main
string

Main weather category

description
string

Description of the weather

icon
string

Icon value

Additional items are allowed.

main main
object

Main details

temp
number

Temperature

feels_like
number

How the temperature feels

temp_min
number

Minimum temperature

temp_max
number

Maximum temperature

pressure
integer

Pressure

humidity
integer

Humidity

Additional properties are allowed.

wind wind
object

Wind details

speed
number

Wind speed

deg
number

Angle of wind

Additional properties are allowed.

clouds clouds
object

Cloud details

all
integer

Cloud type

Additional properties are allowed.

sys sys
object

Sys details

type
integer

Sys type

id
integer

Sys ID

country
string

Country

sunrise
integer

Sunrise time

sunset
integer

Sunset time

Additional properties are allowed.

base
string

Type of measurement base

visibility
integer

Visibility value

dt
integer

Dt value

timezone
integer

Timezone

id
integer

ID of measurement

name
string

Name of measurement location

cod
integer

COD value

Additional properties are allowed.

Examples

<anonymous-message-1>
Payload
{
  "coord": {
    "lon": 0,
    "lat": 0
  },
  "weather": [
    {
      "id": 0,
      "main": "string",
      "description": "string",
      "icon": "string"
    }
  ],
  "main": {
    "temp": 0,
    "feels_like": 0,
    "temp_min": 0,
    "temp_max": 0,
    "pressure": 0,
    "humidity": 0
  },
  "wind": {
    "speed": 0,
    "deg": 0
  },
  "clouds": {
    "all": 0
  },
  "sys": {
    "type": 0,
    "id": 0,
    "country": "string",
    "sunrise": 0,
    "sunset": 0
  },
  "base": "string",
  "visibility": 0,
  "dt": 0,
  "timezone": 0,
  "id": 0,
  "name": "string",
  "cod": 0
}
This example has been generated automatically.

Messages

#1 <anonymous-message-1>

Payload
object
coord coord
object
lon
number

Measurement location's longitude

lat
number

Measurement location's latitude

Additional properties are allowed.

weather
array<object>
id
integer

Weather's id

main
string

Main weather category

description
string

Description of the weather

icon
string

Icon value

Additional items are allowed.

main main
object

Main details

temp
number

Temperature

feels_like
number

How the temperature feels

temp_min
number

Minimum temperature

temp_max
number

Maximum temperature

pressure
integer

Pressure

humidity
integer

Humidity

Additional properties are allowed.

wind wind
object

Wind details

speed
number

Wind speed

deg
number

Angle of wind

Additional properties are allowed.

clouds clouds
object

Cloud details

all
integer

Cloud type

Additional properties are allowed.

sys sys
object

Sys details

type
integer

Sys type

id
integer

Sys ID

country
string

Country

sunrise
integer

Sunrise time

sunset
integer

Sunset time

Additional properties are allowed.

base
string

Type of measurement base

visibility
integer

Visibility value

dt
integer

Dt value

timezone
integer

Timezone

id
integer

ID of measurement

name
string

Name of measurement location

cod
integer

COD value

Additional properties are allowed.