Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7922375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:55:47+00:00 2026-06-03T16:55:47+00:00

I am confused about Google API Authorization and what type is needed. I am

  • 0

I am confused about Google API Authorization and what type is needed.

I am trying to build a python application that can put events on my google calendar. Note that I want events on MY calendar and only MY Calendar. This will run on a server as a back-end for a django appllcation. I am not at all trying to access any other user’s data or calendars.

Example: User puts in a service request. I tell the user thanks for the request and then I put a calendar event on my calendar.

I tried the Calendar API OAuth model client ID for web applications and it seems to be asking permission to access the requesting users data. Correct?

Since I log into my google account with a username and password and I get access my profile and calendar, can my application do the same on my account?

How to accomplish this? And what Google API authorization do I need? Any simple examples?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:55:48+00:00Added an answer on June 3, 2026 at 4:55 pm

    The recommended approach for authorization to Google APIs is to use OAuth 2. Google provides standalone libraries for OAuth 2 in a variety of languages (such as Python), as well as more comprehensive client libraries (see the Python library) that assist with using OAuth 2 with Google APIs such as the Calendar API.

    Using a username and password pair is generally referred to as ClientLogin when it’s in the context of Google APIs. This practice is deprecated and strongly discouraged.

    With that out of the way, there are simple instructions for using Calendar API v3 with the Python client library on the Google Developers site. However, these instructions are tailored for an application that runs on the command line versus one that operates on a web server, because conceptually and programmatically, this is much simpler to grasp. I would suggest trying this sample first, even though it doesn’t do exactly what you want.

    There isn’t an OAuth 2 on App Engine sample that I’m aware of, but there is an example using the Google+ APIs that is included in the client library samples.

    The critical piece of this example, authorizing the user, is nearly identical between an application that uses Google+ APIs versus the Calendar API. The biggest differences will be in the access your application requests on behalf of the user (the scope), which will be something like:

    https://www.googleapis.com/auth/calendar
    

    instead of:

    https://www.googleapis.com/auth/plus.me
    

    and of course the actual calls to the API, which are described in detail in the Calendar API documentation reference. If you tried the simple Calendar API example I linked above, you should be able to apply what you learned there, with the OAuth 2 setup instructions from the Google+ sample, to do what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been reading a little about Google's AppEngine that provides application hosting. I've been
After read the google map javascript v3 api,I found I am confused about some
I'm investigating the Google custom search API and I'm a bit confused about how
I'm a bit confused about how many controllers I need, and when I can
I'm very confused about the whole user profile thing in drupal, hope someone can
I'm getting into Google Web Toolkit, and am a little confused about the Entry
i am trying to understand this google social graph api a bit and i
I am getting confused about Google Map. I am writing a CMS website using
I'm trying to learn how to use JMock and I'm a bit confused about
I am trying to put in scripts for google analytics in my code. But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.