mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
google-calendar: Fix typo and improve Markdown.
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
Get Google Calendar reminders in Zulip! This is a great way to see
|
Get Google Calendar reminders in Zulip! This is a great way to see
|
||||||
your reminders directly in your Zulip feed.
|
your reminders directly in your Zulip feed.
|
||||||
|
|
||||||
{! download-python-bindings.md !} This bot should be set up on a
|
{!download-python-bindings.md!}
|
||||||
trusted machine, because your API key is visible to local users
|
|
||||||
through the command line or config file.
|
This bot should be set up on a trusted machine, because your API
|
||||||
|
key is visible to local users through the command line or config
|
||||||
|
file.
|
||||||
|
|
||||||
Next, follow the instructions for **Step 1** at
|
Next, follow the instructions for **Step 1** at
|
||||||
[this link](https://developers.google.com/google-apps/calendar/quickstart/python)
|
[this link](https://developers.google.com/google-apps/calendar/quickstart/python)
|
||||||
@@ -34,7 +36,7 @@ browser, follow the instructions in the terminal window.
|
|||||||
|
|
||||||
Now, all that’s left to do is to run the `gcal-bot` script, in the
|
Now, all that’s left to do is to run the `gcal-bot` script, in the
|
||||||
same directory as the `get-google-credentials` script, with the
|
same directory as the `get-google-credentials` script, with the
|
||||||
necessary paramaters:
|
necessary parameters:
|
||||||
|
|
||||||
python /usr/local/share/zulip/integrations/google/gcal-bot --user foo@zulip.com
|
python /usr/local/share/zulip/integrations/google/gcal-bot --user foo@zulip.com
|
||||||
|
|
||||||
@@ -44,25 +46,25 @@ There are two optional flags that you can specify when running this
|
|||||||
script:
|
script:
|
||||||
|
|
||||||
* `--calendar`: This flag specifies the calendar to watch from the
|
* `--calendar`: This flag specifies the calendar to watch from the
|
||||||
user’s Google Account. By default, this flag is set to a user’s
|
user’s Google Account. By default, this flag is set to a user’s
|
||||||
primary or default calendar. To specify a calendar, you need the
|
primary or default calendar. To specify a calendar, you need the
|
||||||
calendar ID which can be obtained by going to Google Calendar and
|
calendar ID which can be obtained by going to Google Calendar and
|
||||||
clicking on the wedge next to the calendar’s name. Click on settings
|
clicking on the wedge next to the calendar’s name. Click on settings
|
||||||
in **Calendar settings** in the drop down, and look for the **Calendar
|
in **Calendar settings** in the drop down, and look for the **Calendar
|
||||||
Address** section. Copy the **Calendar ID** from the right side of the
|
Address** section. Copy the **Calendar ID** from the right side of the
|
||||||
page and use that as the value for this flag.
|
page and use that as the value for this flag.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* `--interval`: This flag specifies the interval of time - in
|
* `--interval`: This flag specifies the interval of time - in
|
||||||
minutes - between receiving the reminder, and the actual event. For
|
minutes - between receiving the reminder, and the actual event. For
|
||||||
example, an interval of 30 minutes would mean that you would receive a
|
example, an interval of 30 minutes would mean that you would receive a
|
||||||
reminder for an event 30 minutes before it is scheduled to occur.
|
reminder for an event 30 minutes before it is scheduled to occur.
|
||||||
|
|
||||||
Don’t close the terminal window with the bot running (you can use
|
Don’t close the terminal window with the bot running (you can use
|
||||||
`screen` if needed). You will only get reminders if the bot is still
|
`screen` if needed). You will only get reminders if the bot is still
|
||||||
running.
|
running.
|
||||||
|
|
||||||
{! congrats.md !}
|
{!congrats.md!}
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Reference in New Issue
Block a user