Skip to content

Commit 648889b

Browse files
authored
Added weather API information
1 parent 3acc81e commit 648889b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
##
1212

1313
<p align="center">Wuasta is an Android app written in Java that makes your mornings a lot less stressful. </p>
14-
<p align="center">With some parameters, such as your home location, work location, the amount of time you need in the morning to get ready, and the time at which you need to be at work, the app calls Google Maps Distance API, taking into account the traffic conditions based on historical traffic data, with an inital departure time. Based on the commute duration returned from the API call, the app calls the API again, now with an adjusted departure time based on whether or not the previous API call overshot or undershot its previous prediction (initial prediction being 30 mins). This process is repeated until a departure time is found such that the arrival time is within 3 mins of the specified time at which the user needs to be at work. </p>
14+
<p align="center">With some parameters, such as your home location, work location, the amount of time you need in the morning to get ready, and the time at which you need to be at work, the app calls Google Maps Distance Matrix API, taking into account the traffic conditions based on historical traffic data, with an inital departure time. Based on the commute duration returned from the API call, the app calls the API again, now with an adjusted departure time based on whether or not the previous API call overshot or undershot its previous prediction (initial prediction being 30 mins). This process is repeated until a departure time is found such that the arrival time is within 3 mins of the specified time at which the user needs to be at work. </p>
1515

1616
##
1717

@@ -50,9 +50,9 @@
5050
<br />
5151

5252
## APIs Used
53-
<p><strong>Google Maps Distance API</strong> for predicting departure time</p>
53+
<p><strong>Google Maps Distance Matrix API</strong> for predicting departure time</p>
5454
<p><strong>Google Maps Places API</strong> for picking home and work locations</p>
55-
<p><strong>Yahoo Weather API</strong> for predicted weather information at the time of departure</p>
55+
<p><strong>Weatherbit.io API</strong> for predicted weather information at the time of departure</p>
5656

5757

5858

@@ -80,8 +80,9 @@
8080

8181
<br />
8282

83-
*You must use your own API key, add it to the manifest, and the wuastaFragment.java by replacing "ADD_YOUR_KEY_HERE"*
83+
*You must use your own API keys, add the Google API key to the manifest, and the wuastaFragment.java by replacing "ADD_YOUR_KEY_HERE",
84+
and add the Weatherbit.io API key to the wuastaFragment.java by replacing "ADD_YOUR_WEATHER_KEY_HERE".*
8485

8586
<br />
8687

87-
*The authors give permission to fork the repository and reuse code, but publishing code onto the play store with the core functionality of this app is strictly prohibited.*
88+
*The authors give permission to fork the repository and reuse code, but publishing code onto the play store with the core functionality of this app is prohibited.*

0 commit comments

Comments
 (0)