Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README's Installation section. #116

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 23 additions & 14 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- Fetch google calendar event
- Post/edit org element
- Sync between Org and Gcal

* Requirements

- [[https://github.com/tkf/emacs-request][tkf/emacs-request]]
- [[https://github.com/jwiegley/alert][jwiegley/alert]]

Expand All @@ -19,27 +19,36 @@

3. Click on the project

4. Click on *APIs & Auth* then *Credentials*

5. Click on *Create New Client ID* with Application type /Installed application/, Installed application type /Other/
4. Click on *APIs & Services*, then *Credentials*

6. Click on *Create Client ID*
5. Click on *OAuth consent screen*, enter a product name, and save.

7. Record the Client ID and Client secret for setup.
6. Click on *Create Credentials*, then *OAuth Client ID*, select application type /Other/.

8. Under the same *APIs & Auth* menu section, select *APIs*
7. Click on *Create*

9. Scroll down to *Calendar API*. Click the *Status* button to enable calendar API access to the app you created in steps 5 & 6.
8. Record the *Client ID* and *Client secret* for setup.

Go to [[https://www.google.com/calendar/render][Google setting page]] to check the calendar ID.
9. Under the same *APIs & Services* menu section, select *Library*

10. Go to [[https://www.google.com/calendar/render][Google setting page]] and click the gear-shaped settings icon in the upper right, then select "Settings" from the drop down list.
10. Scroll down to (or search for) *Google Calendar API*. Click the
*Enable* button to enable calendar API access to the app you
created in steps 6 & 7.

11. Select the "Calendars" tab, which will display a list of your calendars.
11. Go to [[https://www.google.com/calendar/render][Google setting page]] and click the gear-shaped settings icon
in the upper right, then select "Settings" from the drop down
list.

12. Select the calendar you would like to synchronize with. This will take you to the "Calendar Details" page for that calendar. Near the end is a section titled "Calendar Address". Following the XML, ICAL, and HTML tags, you will see your Calendar ID.
13. Select the calendar you would like to synchronize with. This will
take you to the "Calendar Settings" page for that calendar. Near
the end is a section titled "Integrate calendar". At the top, you
will see your Calendar ID.

13. Copy the Calendar ID for use in the settings below, where you will use it as the first element in the org-gcal-file-alist for associating calendars with specific org files. You can associate different calendars with different org files, so repeat this for each calendar you want to use.
14. Copy the Calendar ID for use in the settings below, where you will
use it as the first element in the org-gcal-file-alist for
associating calendars with specific org files. You can associate
different calendars with different org files, so repeat this for
each calendar you want to use.

** Setting example

Expand Down