OpenWeather

OpenWeather

Connect OpenWeather to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your OpenWeather API key and the locations you want to track to pull weather data into the PostHog Data warehouse.

Create an API key in your OpenWeather account. A newly created key can take a couple of hours to activate.

OpenWeather has no list endpoint — every request is for a single coordinate — so enter one location per line as lat,lon (an optional label is allowed: lat,lon,label). For example:

51.5074,-0.1278,London
40.7128,-74.0060,New York

Each sync polls every location once. To accumulate a history of point-in-time snapshots, pick the append sync method on the table.

Configuration

OptionTypeRequired
API keypasswordYes
LocationstextareaYes

Linking OpenWeather to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select OpenWeather
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Community questions

Questions about this page? or post a community question.