Location GPT

Location GPT · GPT-Aktionen

LocationGPT

Provides access to lookup places of interest based on latitude and longitude coordinates.

  • GET /find_nearest_points/Get Nearest Points
Ursprüngliches API-Schema
{"openapi":"3.1.0","info":{"title":"LocationGPT","summary":"Use this to find the nearest points of interest based on latitude and longitude coordinates.","description":"Provides access to lookup places of interest based on latitude and longitude coordinates.","termsOfService":"http://example.com/terms/","contact":{"name":"Abe Usher","url":"https://twitter.com/abeusher","email":"ausher530@gmail.com"},"version":"1.0.1"},"servers":[{"url":"https://www.penguin2750.net","description":"Production environment"}],"paths":{"/find_nearest_points/":{"get":{"summary":"Get Nearest Points","operationId":"get_nearest_points_find_nearest_points__get","parameters":[{"name":"latitude","in":"query","required":true,"schema":{"type":"number","title":"Latitude"}},{"name":"longitude","in":"query","required":true,"schema":{"type":"number","title":"Longitude"}},{"name":"feature_name","in":"query","required":false,"schema":{"type":"string","default":"hospital","title":"Feature Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}