1

I'm new at Node, and I'm trying to access a google spreadsheet by pasting the URL in 'new GoogleSpreadhseet(id). When I just paste the id it works, but if I try to paste the url and put the string through a parser that returns just the id, it gives an error.

Is this an issue with the google spreadsheet node_modules, or something in my own code?

  • 1
    it could be helpful, you can retrieve from url, it looks like has a pattern. see https://stackoverflow.com/questions/36061433/how-to-do-i-locate-a-google-spreadsheet-id – Juan Caicedo Sep 26 '19 at 16:31
  • To add to Juan's comment, this approach works for all files in Drive. – AMolina Sep 27 '19 at 06:31

0 Answers0