Package xyz.felh.amap

Interface AmapOpenApi


public interface AmapOpenApi
Retrofit2 API interface
  • Method Summary

    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Single<DistrictResponse>
    行政区域查询是一类简单的HTTP接口,根据用户输入的搜索条件可以帮助用户快速的查找特定的行政区域信息。
    io.reactivex.rxjava3.core.Single<GeoCodeResponse>
    地理编码/逆地理编码 API 是通过 HTTP/HTTPS 协议访问远程服务的接口,提供结构化地址与经纬度之间的相互转化的能力。
    io.reactivex.rxjava3.core.Single<GeoCodeRegeoResponse>
    提供结构化地址与经纬度之间的相互转化的能力
    io.reactivex.rxjava3.core.Single<IpResponse>
    IP定位是一套简单的HTTP接口,根据用户输入的IP地址,能够快速的帮用户定位IP的所在位置。 IP定位:仅支持IPV4,不支持国外IP解析。
    io.reactivex.rxjava3.core.Single<WeatherResponse>
    天气查询是一个简单的HTTP接口,根据用户输入的adcode,查询目标区域当前/未来的天气情况,数据来源是中国气象局。
  • Method Details

    • geoCode

      @GET("/v3/geocode/geo") io.reactivex.rxjava3.core.Single<GeoCodeResponse> geoCode(@QueryMap Map<String,String> map)
      地理编码/逆地理编码 API 是通过 HTTP/HTTPS 协议访问远程服务的接口,提供结构化地址与经纬度之间的相互转化的能力。
      Returns:
      GeoCodeResponse
    • geoCodeRegeo

      @GET("/v3/geocode/regeo") io.reactivex.rxjava3.core.Single<GeoCodeRegeoResponse> geoCodeRegeo(@QueryMap Map<String,String> map)
      提供结构化地址与经纬度之间的相互转化的能力
    • ip

      @GET("/v3/ip") io.reactivex.rxjava3.core.Single<IpResponse> ip(@QueryMap Map<String,String> map)
      IP定位是一套简单的HTTP接口,根据用户输入的IP地址,能够快速的帮用户定位IP的所在位置。 IP定位:仅支持IPV4,不支持国外IP解析。
    • weather

      @GET("/v3/weather/weatherInfo") io.reactivex.rxjava3.core.Single<WeatherResponse> weather(@QueryMap Map<String,String> map)
      天气查询是一个简单的HTTP接口,根据用户输入的adcode,查询目标区域当前/未来的天气情况,数据来源是中国气象局。
    • district

      @GET("/v3/config/district") io.reactivex.rxjava3.core.Single<DistrictResponse> district(@QueryMap Map<String,String> map)
      行政区域查询是一类简单的HTTP接口,根据用户输入的搜索条件可以帮助用户快速的查找特定的行政区域信息。