mirror of
https://codeberg.org/andyscott/OpenWeather-gRPC-API.git
synced 2024-11-04 05:10:48 -05:00
18 lines
400 B
Protocol Buffer
18 lines
400 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package weather;
|
|
|
|
option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto";
|
|
|
|
import "location_types.proto";
|
|
|
|
message RequestCurrent {
|
|
//LocationType location_type = 1; NOT IMPLEMENTED YET
|
|
string city = 1;
|
|
optional string state = 2; // US Only
|
|
optional string country = 3; // Must be ISO 3166 country code
|
|
}
|
|
|
|
message SendCurrent {
|
|
string payload = 1;
|
|
}
|