各种服务接口

Google Weather API调用说明

1.邮政编码法:(支持美国地区)

  http://www.google.com/ig/api?hl=zh-cn&weather=94043 
  (94043 为 山景城, 美国加州 的邮政编码) 
2.经纬度坐标作法:

  http://www.google.com/ig/api?hl=zh-cn&weather=,,,30670000,104019996 
  (30670000,104019996 为 成都, 中国大陆 的经纬度坐标)

3.城市名称法:

  http://www.google.com/ig/api?weather=Beijing

 

附:
 支持的国家代码列表:http://www.google.com/ig/countries?output=xml&hl=zh-cn 
(查询 Google 所支持的所有国家的代码,并以 zh-cn 简体中文显示) 
支持的城市代码列表:http://www.google.com/ig/cities?output=xml&hl=zh-cn&country=cn

 自己收集的WebServices:

1、http://www.baidu.com/s?pn=1&rn=1&wd=rew&ie=utf-8 百度的搜索 pn:页码 rn:最多返回多少条记录 wd:搜索的关键字


 

天气预报Web服务,数据来源于中国气象局
Endpoint :http://www.webxml.com.cn/WebServices/WeatherWebService.asmx
Disco       :http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl

IP地址来源搜索 WEB 服务(是目前最完整的IP地址数据)
Endpoint :http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx
Disco         :http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?disco
WSDL       :http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx?wsdl

随机英文、数字和中文简体字 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/RandomFontsWebService.asmx
Disco        :http://www.webxml.com.cn/WebServices/RandomFontsWebService.asmx?disco
WSDL       :http://www.webxml.com.cn/WebServices/RandomFontsWebService.asmx?wsdl

中国邮政编码 <-> 地址信息双向查询/搜索 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/ChinaZipSearchWebService.asmx
Disco        :http://www.webxml.com.cn/WebServices/ChinaZipSearchWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/ChinaZipSearchWebService.asmx?wsdl

验证码图片 WEB 服务 支持中文、字母、数字 图像和多媒体
Endpoint :http://www.webxml.com.cn/WebServices/ValidateCodeWebService.asmx
Disco          :http://www.webxml.com.cn/WebServices/ValidateCodeWebService.asmx?disco
WSDL       :http://www.webxml.com.cn/WebServices/ValidateCodeWebService.asmx?wsdl

Email 电子邮件地址验证 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/ValidateEmailWebService.asmx
Disco        :http://www.webxml.com.cn/WebServices/ValidateEmailWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/ValidateEmailWebService.asmx?wsdl

中文简体字 <->繁体字转换 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/TraditionalSimplifiedWebService.asmx    
Disco         :http://www.webxml.com.cn/WebServices/TraditionalSimplifiedWebService.asmx?disco
WSDL        :http://www.webxml.com.cn/WebServices/TraditionalSimplifiedWebService.asmx?wsdl

中文 <-> 英文双向翻译 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/TranslatorWebService.asmx
Disco        :http://www.webxml.com.cn/WebServices/TranslatorWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/TranslatorWebService.asmx?wsdl

火车时刻表 WEB 服务 (第六次提速最新列车时刻表)
Endpoint :http://www.webxml.com.cn/WebServices/TrainTimeWebService.asmx
Disco        :http://www.webxml.com.cn/WebServices/TrainTimeWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/TrainTimeWebService.asmx?wsdl

中国股票行情数据 WEB 服务(支持深圳和上海股市的基金、债券和股票)
Endpoint :http://www.webxml.com.cn/WebServices/ChinaStockWebService.asmx
Disco         :http://www.webxml.com.cn/WebServices/ChinaStockWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/ChinaStockWebService.asmx?wsdl

即时外汇汇率数据 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/ExchangeRateWebService.asmx
Disco        :http://www.webxml.com.cn/WebServices/ExchangeRateWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/ExchangeRateWebService.asmx?wsdl

腾讯QQ在线状态 WEB 服务
Endpoint :http://www.webxml.com.cn/webservices/qqOnlineWebService.asmx
Disco         :http://www.webxml.com.cn/webservices/qqOnlineWebService.asmx?disco
WSDL       :http://www.webxml.com.cn/webservices/qqOnlineWebService.asmx?wsdl

中国电视节目预告(电视节目表) WEB 服务
Endpoint :http://www.webxml.com.cn/webservices/ChinaTVprogramWebService.asmx
Disco        :http://www.webxml.com.cn/webservices/ChinaTVprogramWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/webservices/ChinaTVprogramWebService.asmx?wsdl

外汇-人民币即时报价 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/ForexRmbRateWebService.asmx
Disco        :http://www.webxml.com.cn/WebServices/ForexRmbRateWebService.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/ForexRmbRateWebService.asmx?wsdl

中国股票行情分时走势预览缩略图 WEB 服务
Endpoint : http://www.webxml.com.cn/webservices/ChinaStockSmallImageWS.asmx
Disco       http://www.webxml.com.cn/webservices/ChinaStockSmallImageWS.asmx?disco
WSDL     http://www.webxml.com.cn/webservices/ChinaStockSmallImageWS.asmx?wsdl

国内飞机航班时刻表 WEB 服务
Endpoint :http://www.webxml.com.cn/webservices/DomesticAirline.asmx
Disco        http://www.webxml.com.cn/webservices/DomesticAirline.asmx?disco 
WSDL      http://www.webxml.com.cn/webservices/DomesticAirline.asmx?wsdl

中国开放式基金数据 WEB 服务
Endpoint :http://www.webxml.com.cn/WebServices/ChinaOpenFundWS.asmx
Disco       http://www.webxml.com.cn/WebServices/ChinaOpenFundWS.asmx?disco
WSDL      :http://www.webxml.com.cn/WebServices/ChinaOpenFundWS.asmx?wsdl

股票行情数据 WEB 服务(支持香港、深圳、上海基金、债券和股票;支持多股票同时查询)
Endpoint :http://www.webxml.com.cn/WebServices/StockInfoWS.asmx
Disco        :http://www.webxml.com.cn/WebServices/StockInfoWS.asmx?disco
WSDL       :http://www.webxml.com.cn/WebServices/StockInfoWS.asmx?wsdl

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Spring Boot 是一个开源框架,它的设计目标是简化 Spring 应用程序的初始化步骤、开发和部署过程,使开发人员能够快速和高效地构建和部署 API 服务器。Spring Boot 提供了许多使用方便的工具和功能,如自动配置、嵌入式服务器和运行时应用监控等。 Spring Boot 应用接口服务器主要用于将不同的客户端请求转换为应用服务器能够理解的格式,并处理请求。通常,服务器端的主要任务是与数据库进行数据交互,然后按照客户端请求发送响应。因此,一个基本的 Spring Boot 应用接口服务器应该包含以下较为基础的组件: 1、HTTP 服务器:Spring Boot 内置了 Tomcat、Jetty 和 Undertow 三种嵌入式服务器供用户选择,可以根据具体应用场景选择适合自己需求的服务器; 2、RESTful 接口:Spring Boot 支持以 RESTful 标准为模板的 API 接口设计,重点在于接口的清晰易懂和输入输出结果的统一格式化; 3、数据库和事务:Spring Boot 集成了各种数据库,如 MySQL、PostgreSQL 和 Oracle 等,并支持使用 MyBatis、Hibernate 等 ORM 框架对数据库进行操作; 4、数据校验:应用接口服务器需要对客户端发送的数据进行校验,保证数据的正确性,Spring Boot 可以通过引入 spring-boot-starter-validation 包来实现。 Spring Boot 应用接口服务器功能十分强大,为开发人员提供了极大的便利,使得快速开发高质量 API 接口变得容易。同时,由于 Spring Boot 应用接口服务器本身轻量级,因此运行起来也比较快速,非常适合用于开发 RESTful API 接口

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值