Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
252 Vistas

Can anyone help me how I integrate google class room in Odoo
I want to see all the activity from google class room to Odoo interface 

Avatar
Descartar
Mejor respuesta

Hi,


To integrate Google Classroom with Odoo and show Classroom activity (assignments, announcements, submissions) within Odoo, you’ll typically build a custom connector that uses the Google Classroom API to fetch data and then map that into Odoo models or dashboard views.


1. Set Up Google Classroom API Access


    - In the Google Developers Console, create a project.

    - Enable the Google Classroom API.

    - Generate OAuth 2.0 credentials (client ID & secret).

    - Set your Odoo redirect URI appropriately.


2. Fetch Classroom Data


     -Use Google’s Classroom REST endpoints like:

                * /courses.list

                * /courses/{id}/announcements

                * /courses/{id}/studentSubmissions

     - Authenticate via OAuth and poll or listen for updates.


3. Create Odoo Models & Scheduler


          - Define models, e.g. gc.course, gc.announcement, gc.submission.

          - Write scheduled jobs (cron) or webhook handlers to fetch updates regularly.

          - Parse and store the data, linking to Odoo users or partner records.


4. Design Odoo Views & Dashboards


            - Present course information, activity streams, or submission statuses in kanban, tree, or board views.

           - Build dashboards via Odoo’s Board module to surface key metrics.


This approach gives you full control but requires development using the Google API client library and Odoo’s external API connectors.


Documentation:-


* https://developers.google.com/workspace/classroom/reference/rest


Hope it helps

Avatar
Descartar