Skip to content

Commit

Permalink
Update noaa_api_v2.py
Browse files Browse the repository at this point in the history
Changed request url from http to https.
  • Loading branch information
crvaden authored Mar 16, 2018
1 parent a18a966 commit 5c48cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noaa_api_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class NOAAData(object):
def __init__(self, token):
# NOAA API Endpoint
self.url = 'http://www.ncdc.noaa.gov/cdo-web/api/v2/'
self.url = 'https://www.ncdc.noaa.gov/cdo-web/api/v2/'
self.h = dict(token=token)

def poll_api(self, req_type, payload):
Expand Down

0 comments on commit 5c48cc1

Please sign in to comment.