Crates.io | geoprox-client |
lib.rs | geoprox-client |
version | 0.5.0 |
source | src |
created_at | 2024-08-03 21:01:33.861167 |
updated_at | 2024-08-23 21:06:03.701535 |
description | An HTTP client library for interacting with the Geoprox search engine |
homepage | |
repository | |
max_upload_size | |
id | 1324535 |
size | 76,690 |
Geoprox server implementation providing a HTTP API for geospatial queries and position tracking
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named geoprox-client
and add the following to Cargo.toml
under [dependencies]
:
geoprox-client = { path = "./geoprox-client" }
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|
GeohashApiApi | decode_geohash | GET /api/v1/geohash/{ghash} | Decode geohash into coordinates. GeohashApiApi | encode_latlng | GET /api/v1/geohash | Encode coordinates into geohash GeohashApiApi | get_neighbors | GET /api/v1/geohash/{ghash}/neighbors | Neighboring regions GeoshardApiApi | create_index | POST /api/v1/shard/{index} | Create geospatial index GeoshardApiApi | drop_index | DELETE /api/v1/shard/{index} | Deletes geospatial index GeoshardApiApi | insert_key | PUT /api/v1/shard/{index} | Insert key into index GeoshardApiApi | insert_key_batch | PUT /api/v1/shard/{index}/batch | Insert multiple keys into index GeoshardApiApi | query_range | GET /api/v1/shard/{index} | Search index for objects nearby GeoshardApiApi | query_range_many | GET /api/v1/shard | Search multiple indices for objects nearby GeoshardApiApi | remove_key | PATCH /api/v1/shard/{index} | Remove key from index GeoshardApiApi | remove_key_batch | PATCH /api/v1/shard/{index}/batch | Remove multiple keys from index
To get access to the crate's generated documentation, use:
cargo doc --open