Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
Update README.md with API key guidance.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdlei committed Oct 19, 2015
1 parent 4bfbe6f commit 1674b67
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Expand Up @@ -7,10 +7,22 @@ Take the course to find out how to build this app a step at a time, and eventual

This is the second version of the Sunshine code. The repository has been updated on:

* **October 18th, 2015** - Updated to support use of the openweathermap.org API key.
* **February 13th, 2015** - Major update
* February 25, 2015 - Minor bug fixes
* March 4th, 2015 - Minor bug fixes

### Open Weather Map API Key is required.

In order for the Sunshine app to function properly as of October 18th, 2015 an API key for openweathermap.org must be included with the build.

We recommend that each student obtain a key via the following [instructions](http://openweathermap.org/appid#use), and include the unique key for the build by adding the following line to [USER_HOME]/.gradle/gradle.properties

`MyOpenWeatherMapApiKey="<UNIQUE_API_KEY">`

For help migrating an existing repo (fork or clone prior to 10/18/15), please check out this [guide.](https://docs.google.com/document/d/1e8LXahedBlCW1_dp_FyvQ3ugUAwUBJDuJCoKf3tgNVs/pub?embedded=true)

========
For the original version, please go [here](https://github.com/udacity/Sunshine).

A changelog for the course can be found [here](https://docs.google.com/a/knowlabs.com/document/d/193xJb_OpcNCqgquMhxPrMh05IEYFXQqt0S6-6YK8gBw/pub).
A changelog for the course can be found [here](https://docs.google.com/a/knowlabs.com/document/d/193xJb_OpcNCqgquMhxPrMh05IEYFXQqt0S6-6YK8gBw/pub).

7 comments on commit 1674b67

@lishuopitt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minhluan96
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lishuopitt thanks :D it finally works 👍

@EConroyd
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank u!! 👍👍

@JithuNair
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shows an error for me. Gradle sync fails all the time 👎

@lisading
Copy link

@lisading lisading commented on 1674b67 Dec 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should MyOpenWeatherMapApiKey="<UNIQUE_API_KEY"> be MyOpenWeatherMapApiKey="<UNIQUE_API_KEY>" ?
Also @lishuopitt mentioned worked for me! 👍

@saclavij
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, I don't have the file "gradle.properties" on the "[USER_HOME]/.gradle/", I have it instead on

[USER_HOME]/gradle/, can I add the line in that file?

@namclu
Copy link

@namclu namclu commented on 1674b67 Jun 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they really need to clarify the instructions on how to set the API keys...over 5k views on Stack for that question

Please sign in to comment.