User Tools

Site Tools


01_user_documentation:groimp-platform:interfaces:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
01_user_documentation:groimp-platform:interfaces:api [2025/01/24 11:58] – ↷ Page moved from groimp-platform:interfaces:api to 01_user_documentation:groimp-platform:interfaces:api gaetan01_user_documentation:groimp-platform:interfaces:api [2025/01/24 17:06] (current) – removed gaetan
Line 1: Line 1:
-===== API GroIMP ===== 
  
-With the use of the GroLink Project GroIMP can be started as an API server, that can handle Http-requests. 
- 
-==== Get started ==== 
- 
-Starting with GroIMP 2.1 the API application is included and can be started with the following command: 
- 
-> java -Xverify:none -jar core.jar %%--%%headless -a api 
- 
-This starts a local web server, the default port is 58081, this can be changed either in the preferences panel in the GUI or by adding ''-Xport=58080'' to the command above. 
-A more in-depth explanation of GroIMP arguments can be found [[:user-guide:Advanced-GroIMP-arguments|here]]. 
- 
- 
-Now the API can be reached at [[http://localhost:58081/api|http://localhost:58081/api]]. This will return an error message since no command was given. 
- 
-While the API is running, it is possible to send the commands defined in the [[https://gitlab.com/grogra/groimp-plugins/api|plugin]] directly or by using a client library. For now, there are libraries in [[https://gitlab.com/grogra/groimp-utils/pythonapilibrary|python]]  and [[https://gitlab.com/grogra/groimp-utils/rapilibrary|R]]. 
- 
- 
-==== Tutorials ==== 
- 
-  * [[:Tutorials:Getting-started-with-GroLink-and-GroPy|getting started with GroLink and Python(GroPy)]] 
-  * [[:Tutorials:Getting-started-with-GroLink-and-GroR|getting started with GroLink and R(GroR)]] 
-  * [[:Tutorials:Getting-started-with-GroLink-and-HTTP|getting started with GroLink and HTTP in your web browser]] 
-  * [[:Tutorials:Handeling-data-in-GroLink-Projects|Handling data in GroLink projects]] 
- 
- 
-==== Examples ==== 
-  * [[https://gitlab.com/groimp-api-examples/pythonnotebook|Python Notebook]] 
-  * [[https://gitlab.com/groimp-api-examples/forester-game|Godot Game]] 
-  * [[https://gitlab.com/groimp-api-examples/apiplus|example Addition]] 
01_user_documentation/groimp-platform/interfaces/api.1737716337.txt.gz · Last modified: 2025/01/24 11:58 by gaetan