🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Please Help _ Google Tasks API

    PROJECTS
    2
    4
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      EBKsuper
      last edited by EBKsuper

      Dear comunity,

      I try to crack the nut as a non Programmer but willing to jump hoops... so far no success.
      This is why I call for Help.

      I want´t to connect to Google Tasks via the Google Tasks API.
      Yes worked out the API necesserities on google side I do have my secret/key and id and it is active - so I stuck in the code on my core.

      I stuck on the authenticy routine.
      has/knows anybody a working code (preffered M5Flow Blockly) what connects to google api (preffered tasks) and can write a few lines how to manage the google auth routine (preffered on a coreInk).

      Here is the link to a project by Chromsh on github M5Paper google calendar api, what helped, but I cant connect to google api.
      If I understand right I have so send google my credentials and will get back a token from google with that I am authorised to acces the functionality like listing my google task list.

      I could manage to get data from ntp time, save it to json and call it from there, what is in theory a simmilar process but without any authentication. So as a proof of concept I successfully connect to an API and save/read data from a Json file.

      0_1688110015000_uiflow_block_getTimeJson.png

      If you want to use the snippet, "FULL SCREEN" is just a "Set screen show" to push the message "updating JSON" on the Label "listen" in the beginning of the "DUMPdata" funktion. The actuall call and save to Json starts with "Init ntptime...". Not shown: I then display this data in a Label by calling a map "get key: "TimeDate" (Text) in map: "loads Json" (Json funktion) +"JSONdata" (Variable)

      thank you a lot for any help!
      cheers
      EBK

      ps: I am on a coreInk but also other core projects connecting succesfull to google api are helping me understanding how it works, I can adjust the code (mostly display related) myself.

      #googleapi #esp32 #m5stack #coreink #corepaper #m5flow #blockly #api #json #credentials #key

      E 1 Reply Last reply Reply Quote 0
      • E
        EBKsuper @EBKsuper
        last edited by

        @ebksuper just a bump if someone has experience with including google tasks api.
        happy monday : )

        1 Reply Last reply Reply Quote 0
        • E
          EBKsuper
          last edited by

          nobody cares

          1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3
            last edited by

            More a case of nobody knows

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post