galileo_sdk.sdk.stations.StationsSdk.update_station

StationsSdk.update_station(station_id, name=None, description=None, public=None, allow_auto_join=None)[source]

Update a station

Parameters
  • station_id – str

  • name – str

  • description – str

  • public – boolean

  • allow_auto_join – boolean

Returns

Station

Example:
>>> station_id = "my-station-id"
>>> current_station = galileo.stations.get_station(station_id)
>>> current_name = current_station.name
>>> new_name = current_name + "_updated"
>>> updated_station = galileo.stations.update_station(station_id, name=new_name)
>>> print(updated_station.name)