i would like to display private google calendar with fullcalendar. HTML calendar will be available just in private network and I don't want it to be public. Is it possible with fullcalendar?
Tomas
It is possible if you have Google Apps for Dmoains.
The solution is to fetch the calendar data using Google API from your server. Then serve it to fullcalendar the same way you serve events from DB and etc.
To do that, you need:
Create API account with corresponding keys
Enable the Calendar API (same site)
Allow scope access at the Google Domain admin site (under advanced security)
DL and use Google API client library to fetch the data using server side
Related
I am working on Google Apps script that will list all Out of office events from the calendar of someone from my organization.
Calendar is made available for my organization, but limited to free/busy data (and I cannot change the sharing settings). The Out of office events are public by default, so when I open someones calendar in the Calendar application, I can see the out of office events. I am not able to do it using API.
Any ideas? :)
I tried:
let currentCalendar = CalendarApp.getCalendarById("someone#organization.com"); - returns null
response = Calendar.Events.list("someone#organization.com", params); - returns response with empty collection of events and accessRole: "freeBusyReader".
I am having similar issues as this. My application is able to create a new calendar, with its calendarId qtg79cn1gs9ci7uge98is7pv6k#group.calendar.google.com.
However, I can't see anything in the Google Calendar web app (logged in with service account). I know that I have created a secondary calendar. How can I add it as an entry to the user's calendar list ?
I'm trying to access the Google Analytics API via Google Sheets (Google Script).
So within the script, I'm trying to use the URI as described here: https://developers.google.com/analytics/devguides/reporting/realtime/v3/reference/data/realtime/get
The API call looks something like this:
GET https://www.googleapis.com/analytics/v3/data/realtime?ids=3254435&metrics=ga%3AActiveUsers&key={YOUR_API_KEY}
Within my Google Analytics Script, I've also created a Public API Access key:
However, I can't seem to get any data whether if I'm appending the token key in the URI or within the header.
Can any one point me to the right direction?
Thanks
The public api key is for public access APIs. Data that is not owned by a user. You need to create client id from web application.
Then you will be able to authenticate it using Oauth2.
this might get you started. https://developers.google.com/apps-script/advanced/analytics
How to know when you need to be authenticated:
Public API: Aanalytics metadata API meta data doesn't belong to any user its public data anyone can access.
User data API: Google Analytics Real-time Data the data returned is owned by a user, it is not public data viewable by everyone. Documentation states
Requires authorization
If the documentation says requires authentication then you have to be authenticated to access that call.
You can use Google Analytics API easily just by enabling them in App Script.
Below is the Guide to using Real-time API in Google Spreadsheet
https://www.tatvic.com/blog/google-analytics-real-time-data-in-google-sheet/
Just like above you can use any API no need to take care of tokens.
anybody know how to create and event on Google calendar using calendars api?
my users connect to my site using Google , I got a permission from them to write in their calendars then when user attend event on my site i need to crate an event on his/her calendar on gmail?
Checkout the full google calendar api
https://developers.google.com/google-apps/calendar/v1/developers_guide_javascript
We have a private google site on google apps but want to be able to generate an rss feed so people within our domain can add the feed to different readers (including google reader) how can we generate this feed?
Write a web service that will have the credentials to fetch data from the private Google Site.
Have it fetch the feed you need and republish it.
Check the Google Sites API documentation for details.
You can put the URL of the web service on the site where your users can find it.
Note that you will need access to a web server and some server programming skills to do this.