Page 1 of 2

Google Calendar Synchronisation API

Posted: Jun 20th, '15, 11:48
by Sylfone
Hello,

I am very interseted by your product, but i need one more fonctionnality : the 2way sync with google calendar for doctors.
Is it possible to integrate it easily ?

Obviously, I can pay Apphp for create this fonctionnality for me, but how much it will cost me ?

Thanks,

Re: Google Calendar Synchronisation API

Posted: Jun 22nd, '15, 17:41
by administrator
What exactly do you need to integrate?

Re: Google Calendar Synchronisation API

Posted: Jun 22nd, '15, 18:02
by Sylfone
When a patient books a doctor, i want the doctor's google calendar to be updated with the information available on my website.

I also want a button on the doctor profile which permit to sync his calendar ( on my website ) with his google calendar.
For example :
If the doctor has a patient at 11am on his google calendar, when he press the button on his profile I want the 11am time slot on our website for this doctor be unbookable.

Obviously, I will also need a new field to save the google calendar API for each doctor.

I hope I were clear enough,
Thanks

Re: Google Calendar Synchronisation API

Posted: Jun 24th, '15, 08:41
by madredeuz
What about if the doctor doesn´t hit the button to upgrade the information and another patient get the same time through the page instead of google?.

Re: Google Calendar Synchronisation API

Posted: Jun 24th, '15, 10:45
by Sylfone
There will be a conflict on his Google agenda, but he would have to deal himself with that
But chances are low I think

Re: Google Calendar Synchronisation API

Posted: Jul 8th, '15, 14:26
by madredeuz
I am working on the sincronization for my page.

Re: Google Calendar Synchronisation API

Posted: Jul 11th, '15, 10:47
by Sylfone
Me too, I am currently doing the 1-way synchronisation ( when a patient book a doctor, it will add the event on the doctor's google calendar ).

If I succeed, I will post how I have done it.

Re: Google Calendar Synchronisation API

Posted: Aug 15th, '15, 16:38
by madredeuz
Theres is a conflict between the Google-php-client-api and the medical appointment classes.

Re: Google Calendar Synchronisation API

Posted: Aug 17th, '15, 08:59
by ICap
Hi, how conflict is created between google calendar api and hotel script? Which classes with issue? What do you use to synchronize with service?

Re: Google Calendar Synchronisation API

Posted: Aug 17th, '15, 20:49
by madredeuz
I am using the Google Api Php Client https://github.com/google/google-api-php-client

I changed the class __autoload() to spl_autoload_register(), so I could autoload classes from other apis. The problem is that MA autoload looks for Google_Client.class.php, and it should be Google_Client.php, and causes the other classes to break depending if I load de google function after or before any other class function.

if I use:

Google::whateverAction();
Appointments::whateverAction();

Google:: breaks Appointments:: to work correctly.