I want to upload a file to Google drive in ReactJS based on a JSON response body from another HTTP request. Example of the JSON response:
I would like to have this in a file named '917897425.json' in a google drive folder. How can I achieve this?
I tried to use the 'react-google-picker' package in REACT (https://www.npmjs.com/package/react-google-picker) but do not know how to use it.
Example of the JSON response:
[
{
"917897425": [
{
"year": "2017",
"name": "Blom Consulting AS",
},
{
"year": "2018",
"name": "Blom Consulting AS",
}
]
}
]
I would like to have this in a file named '917897425.json' in a google drive folder.