Skip to content

Commit 1223dba

Browse files
authored
Revise JSON example in README for polygon data
Updated JSON structure in README to include new fields for polygon data and push gateway protocols.
1 parent 4ba3b06 commit 1223dba

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

python/README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,25 @@ Process golbat protocol buffer data
107107
### /PolygonX/PostProtos (POST)
108108
Process polygon protocol buffer data with geographic calculations
109109
```json
110-
{
111-
"polygon_data": {
112-
"coordinates": [
113-
{"latitude": 37.7749, "longitude": -122.4194},
114-
{"latitude": 37.7849, "longitude": -122.4094}
110+
protos: [
111+
{
112+
method: number
113+
proto: bytes
114+
request: bytes
115+
trainer_id: string
116+
trainer_level: number
117+
has_geotargeted_ar_scan_quest: boolean
118+
}
119+
]
120+
push_gateway_protos: [
121+
{
122+
method: number
123+
proto: bytes
124+
trainer_id: string
125+
trainer_level: number
126+
has_geotargeted_ar_scan_quest: boolean
127+
}
115128
]
116-
}
117129
}
118130
```
119131

0 commit comments

Comments
 (0)