Adafruit Industries, Essential service and business: NYC – Executive Order 202.6 - Read more.
0

Adafruit IO http API for dark sky
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Adafruit IO http API for dark sky

by darrissoM on Thu Feb 20, 2020 1:54 pm

Hi, is there any example (code) for esp8266 or esp32 getting weather information using HTTP (http API request) on adafruit IO Dark Sky service? I mean beside the following information:

'Get the specified weather record with current weather and all available forecast information = GET /api/v2/:username/integrations/weather/:id'

Thanks.

darrissoM
 
Posts: 1
Joined: Fri Apr 27, 2018 8:41 am

Re: Adafruit IO http API for dark sky

by brubell on Fri Feb 21, 2020 10:18 am

We currently do not have examples of using the weather API. You'll need to manually create a HTTP GET request with the following parameters:

Code: Select all | TOGGLE FULL SIZE
 /api/v2/:username/integrations/weather/:id

brubell
 
Posts: 792
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.