Question: Now You Code 3: Syracuse Historical Weather Write a program to prompt a user to input a date and time string, and then it should

Now You Code 3: Syracuse Historical Weather

Write a program to prompt a user to input a date and time string, and then it should report the temperature and weather conditions at that day and time for Syracuse, NY.

To lookup the weather you will need to use the Dark Sky Time Machine: https://darksky.net/dev/docs/time-machine

The date and time that the user inputs must be in the following format: YYYY-MM-DDThh:mm:ss for example January 7, 2016 at 4:30pm would be: 2016-01-07T16:30:00

Be sure to use the GPS coordinates for Syracuse, NY which are (lat=43.048122,lng=-76.147424)

Example Run (Based on the exchange rates from 2017-03-06:

Enter the amount in USD you wish to exchange: 100 100.00 in USD is 94.41 in EUR 100.00 in USD is 81.48 in GBP 

Can somesone please help with this python program using API's. Specifically how to create/call a module

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!