I am attempting to use a Google Sheets API-driven script to pull metadata from a website. Essentially, I input the DOI of a scholarly article, run the formula from the script, and it spits out a string of information (all in one cell, I might add) that looks like this:
{"status": "ok", "paper": {"classification": "OK", "title": "The Psychophysiology of Social Action: Facial Electromyographic Responses to Stigmatized Groups Predict Antidiscrimination Action", "records": [{"splash_url": "https://doi.org/10.1080/01973533.2013.823618", "doi": "10.1080/01973533.2013.823618", "publisher": "Informa UK Limited", "issue": "5", "journal": "Basic and Applied Social Psychology", "issn": "0197-3533", "volume": "35", "source": "crossref", "policy": {"romeo_id": "1139", "preprint": "can", "postprint": "can", "published": "cannot"}, "identifier": "oai:crossref.org:10.1080/01973533.2013.823618", "type": "journal-article", "pages": "418-425"}], "authors": [{"name": {"last": "Stewart", "first": "Tracie L."}}, {"name": {"last": "Amoss", "first": "R. Toby"}}, {"name": {"last": "Weiner", "first": "Brittany A."}}, {"name": {"last": "Elliott", "first": "Lisa A."}}, {"name": {"last": "Parrott", "first": "Dominic J."}}, {"name": {"last": "Peacock", "first": "Chloe M."}}, {"name": {"last": "Vanman", "first": "Eric J."}}], "date": "2013-09-01", "type": "journal-article"}}
Right? So... I would like to know what sort of Script I can use to push this string of data into various columns based on pre-ordained words included in this string, such as "title," "doi," "issue," "journal," etc. I keep trying crazy roundabout ways to this, but I would like something concise and easy.
Please help.