Giter Site home page Giter Site logo

Comments (8)

veebch avatar veebch commented on August 26, 2024

Thanks, glad you like it. As for the Calendar bit....So much for simplicity :)

Even though I made my calendar public (by publishing to web) I needed an API key or Google would bounce me.

One thing I had to do was set my API key to unrestricted access. Maybe that helps?

from hometime.

danionescu0 avatar danionescu0 commented on August 26, 2024

Thank you for the very quick response, i've also made a test calendar public. But i don't know how to create that API Key yet. I thought it was simple :)

from hometime.

veebch avatar veebch commented on August 26, 2024

This page?

https://console.cloud.google.com/apis/credentials

from hometime.

danionescu0 avatar danionescu0 commented on August 26, 2024

I've created a new calendar project and now it lets me add te API key
I'm using this api to try read events from the calendar

API_KEY="YOUR_API_KEY"
TIME_MIN="2023-05-21T00:00:00Z"
TIME_MAX="2023-05-28T23:59:59Z"

curl "https://www.googleapis.com/calendar/v3/calendars/primary/events?key=${API_KEY}&timeMin=${TIME_MIN}&timeMax=${TIME_MAX}"

But it sais not found, still it seems that i'm on the right track thanks

from hometime.

veebch avatar veebch commented on August 26, 2024

The API key needs to replace the bit in the quotes on the code. That should do it :)

from hometime.

danionescu0 avatar danionescu0 commented on August 26, 2024

Shell replaces my variables defined before, but still the project seems not found, maybe there is more on the configuration side, i need to dig into that

from hometime.

danionescu0 avatar danionescu0 commented on August 26, 2024

Ok got it working, i should have use the calendar in (in form of an email address), my calendar was not primary. Thanks for your help, this resource really helped a lot https://console.cloud.google.com/apis/credentials

from hometime.

veebch avatar veebch commented on August 26, 2024

Excellent. Closing, but I'll add the link to the readme....

from hometime.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.