Giter Club home page Giter Club logo

blizzard's Introduction

blizzard

A simple weather application for collaborative work for learners of GADS 2020

Goal โœ…

  1. Display the weather information for a given city entered by the user based on the sample design
  2. Give periodic notifications of weather updates when changes occur for eg, if temp changes from 20 to 25
  3. Automate UI tests using Espresso

API Details

Weather API is from http://www.openweathermap.org.
We will specifically be making calls to this endpoint:
https://api.openweathermap.org/data/2.5/weather?q={CITY_NAME}&appid={API_KEY}&units=metric
where CITY_NAME is the name of the city and API_KEY is your personal API key generated from openweathermap.org.**

An example weather call to Manchester using the API key 40cd2deaa64e7dj8ca3a5aa75f1e0ad0 would therefore look like
https://api.openweathermap.org/data/2.5/weather?q=Manchester&appid=40cd2deaa64e7dj8ca3a5aa75f1e0ad0&units=metric

Setting up Project with API keys

This error should be shown when project is opened in Android Studio for the first time

Missing property `OWM_API_KEY`, please see README for instructions

To fix this, simply navigate to your user level gradle.properties file.
The file is stored within your user directory:

  • On Mac or Linux: /Users/{yourUserName}/.gradle/gradle.properties
  • On Windows: C:\Users\{yourUserName}\.gradle\gradle.properties

If the file does not exist, you should create it and paste the following line inside it.

OWM_API_KEY="your api key" replacing your api key with the API key generated from openweathermap.org.

For example, OWM_API_KEY="439d4b804bc8187953eb36d2a8c26a02"

A sample API call for the weather in London, UK would be

https://samples.openweathermap.org/data/2.5/weather?q=London,uk&appid=439d4b804bc8187953eb36d2a8c26a02

Screenshots

blizzard's People

Contributors

lokaimoma avatar rafsanjani avatar tonyez avatar joshuaivie avatar mend-bolt-for-github[bot] 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.