Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

importing cell from Google Sheets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    importing cell from Google Sheets

    I have been trying to import a cell or cells from google sheets into my strategy without much success. Has anyone managed to figure this out? One option would be to export the cell from google sheets into a .csv file and have my script read this file, while the other that I see would be to directly access google sheet and scrape the data. On both ends I have been unsuccessful. Not looking to bring stock quotes just data that I want to assign into a variable within my script. Thanks in advance.

    #2
    Are you authenticating yourself correctly to Google?
    Are you using a service account or your own user account?
    Are you sure these steps are working correctly?

    https://developers.google.com/sheets...es/authorizing


    Reading a .csv file can be relatively simple and can be vastly easier to code.
    Which one are you wanting to achieve first?

    https://stackoverflow.com/questions/...-into-an-array
    https://stackoverflow.com/questions/...-c-with-header

    Comment


      #3
      Originally posted by bltdavid View Post
      Are you authenticating yourself correctly to Google?
      Are you using a service account or your own user account?
      Are you sure these steps are working correctly?

      https://developers.google.com/sheets...es/authorizing


      Reading a .csv file can be relatively simple and can be vastly easier to code.
      Which one are you wanting to achieve first?

      https://stackoverflow.com/questions/...-into-an-array
      https://stackoverflow.com/questions/...-c-with-header
      Thanks David, I have my reader working well within my script and I am able to scrape data from other sites as well but struggling with Google Sheets getting specific cells so authentication may be my problem at this stage. I will work on that to see what I can manage. All My Best

      Comment


        #4
        Hello NFT-Trader,

        Thank you for your reply.

        I would agree with bltdavid here. While accessing Google Sheets is not officially supported, going the CSV route would be simpler. I agree that you're likely running into an authorization issue with Google Sheets - I'd check out those links he provided.

        Please let us know if we may be of further assistance to you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        574 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        333 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X