MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / get_map_objects

Method get_map_objects

pogom/fakePogoApi.py:38–41  ·  view source on GitHub ↗
(self, latitude=None, longitude=None, since_timestamp_ms=None, cell_id=None)

Source from the content-addressed store, hash-verified

36 return struct.unpack('<d', struct.pack('<Q', i))[0]
37
38 def get_map_objects(self, latitude=None, longitude=None, since_timestamp_ms=None, cell_id=None):
39 location = (self.i2f(latitude), self.i2f(longitude))
40 response = requests.get('{}/scan/{}/{}'.format(self.mock, *location))
41 return response.json()

Callers 1

map_requestFunction · 0.80

Calls 1

i2fMethod · 0.95

Tested by

no test coverage detected