One of the uses for pulldata('@javascript') has been to integrate with 3rd-party APIs to import additional data into a form submission. One of the early integration patterns we showed (and included for a time as a sample) was the OpenWeather API. The OpenWeather API used in the early sample (2.5) is retiring on October 22. If you are using the old OpenWeather API, please refer to OpenWeather's guide. For the Survey123 script, the following adjustments will need to be made:
- Update the OpenWeather URL to https://api.openweathermap.org/data/3.0/onecall
- If extracting specific values in the script, please review the Matching parameters table to ensure that the correct value for the parameter in the 3.0 API is references. In some cases, the path to the property may have changed. Otherwise, review the table for properties being extracted via pulldata('@json') functions in the form.