github.com/optim-corp/cios-golang-sdk@v0.5.1/sdk/service/geography/README.md (about)

     1  # Geography
     2  
     3  ## Point API
     4  
     5  ### interface
     6  
     7  ```
     8  GetPoints(ciosctx.RequestCtx, cios.ApiGetPointsRequest) (cios.MultiplePoint, *_nethttp.Response, error)
     9  CreatePoint(ciosctx.RequestCtx, cios.PointRequest) (cios.Point, *_nethttp.Response, error)
    10  DeletePoint(ciosctx.RequestCtx, string) (cios.Point, *_nethttp.Response, error)
    11  ```
    12  
    13  ### Usage
    14  
    15  #### Get Points max limit 1000
    16  
    17  ```go
    18  options := srvgeography.MakeGetPointsOpts
    19  points, httpResponse, err := client.Geography().GetPoints(ctx, options())
    20  ```
    21  
    22  
    23  #### Create a Point
    24  
    25  ```go
    26  options := srvgeography.MakeGetPointsOpts
    27  points, httpResponse, err := client.Geography().GetPoints(ctx, options())
    28  ```
    29  
    30  
    31  #### Delete a Point
    32  
    33  ```go
    34  options := srvgeography.MakeGetPointsOpts
    35  points, httpResponse, err := client.Geography().GetPoints(ctx, options())
    36  ```
    37  
    38  ## Cycle API 
    39  
    40  WIP
    41  
    42  ## Route API 
    43  
    44  WIP