There are two base functionalities in LatinChain Platform, inside our Odoo modules: website_pinetwork_odoo (a base module) and website_pinetwork_games_odoo (a games module).
You could inherit in Odoo from any of both. If you inherit from website_pinetwork_odoo, you could use all pinetwork app platform functionalities. And if you inherit from website_pinetwork_games_odoo, you will get all the LatinChain games interfaces.
The base functionalities are: Leader Board and Pi API.
Leader Board is a functionality that can be used to set or get score of the users. Pi API is to make transactions. There are:
pi_points: Set the points to an user.
get_points: Get points from an user.
pi_api: Make transactions.
You can call it from $.post in jQuery.
Here the API functions, in which you can watch the related parameters:
https://github.com/rockcesar/PiNetworkDevelopments/blob/master/website_pinetwork_odoo/controllers/main.py
You can download each module from here:
Base:
https://apps.odoo.com/apps/modules/14.0/website_pinetwork_odoo/
Games:
https://apps.odoo.com/apps/modules/14.0/website_pinetwork_games_odoo/
Video Example:
https://youtu.be/9KqcyAoCZzo
No hay comentarios:
Publicar un comentario