JacobBailey
7 years agoQrew Trainee
Help with API Data Imports - Updating Existing Fields
I work at a solar company, and I'm trying to utilize the API of the NREL's PVWatts tool (https://developer.nrel.gov/docs/solar/pvwatts/v6/).
I have written a URL field that will create the HTML link with all of the inputs already entered. This uses other fields on the table that are filled out by the user. What I would like to do is utilize the data returned to update different fields on the same record.
An example report of what's being returned can be found here: https://developer.nrel.gov/api/pvwatts/v6.xml?api_key=DEMO_KEY&address=1600%20Ampitheater%20Park...
I would like the 12 numbers returned under the "ac-monthly" section of data to update 12 fields on the same record with those numbers.
Here is a glimpse of the page I'm working with:
https://drive.google.com/file/d/1kFFJEQGp_Fq0-wrsvWByCe7izyNPfP_U/view?usp=sharing
The goal is that the user will put in the array data, press the button, and the output of that array will be placed into the A1 Jan - A1 Dec fields.
Sorry if this concept is already on the forums somewhere, but I've been searching for a few hours and everything I find seems to related to using the Quickbase API, not having Quickbase use other APIs.
Update: The PVWatts API can return XML or JSON data, if one would be easier to accomplish this than the other.
I have written a URL field that will create the HTML link with all of the inputs already entered. This uses other fields on the table that are filled out by the user. What I would like to do is utilize the data returned to update different fields on the same record.
An example report of what's being returned can be found here: https://developer.nrel.gov/api/pvwatts/v6.xml?api_key=DEMO_KEY&address=1600%20Ampitheater%20Park...
I would like the 12 numbers returned under the "ac-monthly" section of data to update 12 fields on the same record with those numbers.
Here is a glimpse of the page I'm working with:
https://drive.google.com/file/d/1kFFJEQGp_Fq0-wrsvWByCe7izyNPfP_U/view?usp=sharing
The goal is that the user will put in the array data, press the button, and the output of that array will be placed into the A1 Jan - A1 Dec fields.
Sorry if this concept is already on the forums somewhere, but I've been searching for a few hours and everything I find seems to related to using the Quickbase API, not having Quickbase use other APIs.
Update: The PVWatts API can return XML or JSON data, if one would be easier to accomplish this than the other.