Syncronize a db record (in mysql) to google contacts by google API

Job ID: 35298759

Budget: €8 – €30 EUR

I need to sync a table on a my local mysqldb, with a google contacts account in two ways.

So I need:
to create a contact on google contacts by api if not exists
to update a contact on google contacts by api if already exists
to delete a contact on google contacts by api if the contact doesn't exist in my local mysql db.

The project needs to be written in php as a function.
The funtion has an ID parameter that search the contact in the local db mysql and then connects to google contacts by api.

Here there is just all google api documentation to work
https://developers.google.com/people/api/rest/v1/people/createContact
Related categories: PHP JavaScript Software Architecture MySQL Google APIs