Giter Site home page Giter Site logo

soldierweather's Introduction

SoldierWeather

**天气网提供的 API 接口早已经无法调用,此项目调用聚合数据,功能得以实现。

本篇系学习酷欧天气项目,做出小项目-搜杰天气,后续依情况或许再添加些许功能。

一.功能需求及技术可行性分析

搜杰天气应具备的功能:

  • 可以罗列出全国所有的省市县。
  • 可以查看全国任意城市的天气信息。
  • 可以自由顺利地切换城市,查看其他城市的天气。
  • 可以手动更新及后台更新天气。

主要用到 UI ,网络,定位,数据存储和服务等技术。

二.如何使用聚合数据

1.聚合数据官网地址:https://www.juhe.cn

2.注册完账号-申请数据-天气预报-全国天气预报-点击申请-进入我的数据-点击操作中的查看-记下 AppKey ,如我的 AppKey :af2af1996d54696346d66504710ddcf5,代码中用上。

3.其余的根据开发文档学习。

4.新手注意,具体只改动以下三个地方,再 Rebuild Project ,下载代码到手机上就可以正常使用了。 这三幅图,只改动 "key=...." ,换成你按1-3步骤完成后生成的 AppKey 即可,完毕。

soldierweather's People

Contributors

iamasoldier6 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.