I think this is doable using Google App Script, similar to this PR
https://github.com/bitly/oauth2_proxy/pull/497

Sample Google App Script:

```
function GetStockPrice() {
  var files = DriveApp.searchFiles("name = 'beancount_get_stock_price' and
mimeType ='" + MimeType.GOOGLE_SHEETS + '"');
  var cell;
  if (files === null) {
    cell = SpreadsheetApp.open(files.next()).getActiveCell();
  } else {
    cell =
SpreadsheetApp.create('beancount_get_stock_price').getActiveCell();
  }
  cell.setFormula('=GoogleFinance("GOOG", "price")');
  Logger.log(cell.getValue());
}
```

On Fri, Dec 8, 2017 at 5:17 AM, Justus Pendleton <[email protected]> wrote:

> See the bug report I filed a week ago. Google quotes are gone for good,
> with no workaround I know. A new price source needs to be written.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beancount/02cd79f2-98c5-4ffd-9983-f6d88f84c663%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yuchen Ying
https://about.me/yegle

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAFL5w3VXd26FVsou-%2BbDDxLeWE8ad2Q3Jw20%2BboUfhpcG%2BJ4_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to