User Tools

Site Tools


user-guide:api-groimp

Differences

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

Link to this comparison view

user-guide:api-groimp [2024/04/12 11:52] – created gaetanuser-guide:api-groimp [2024/04/29 15:21] (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]] 
user-guide/api-groimp.1712915550.txt.gz · Last modified: 2024/04/12 11:52 by gaetan