user-guide:additional_interfaces:api
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| user-guide:additional_interfaces:api [2025/01/22 12:33] – [GroPy] Tim | user-guide:additional_interfaces:api [2025/10/27 17:30] (current) – [Client libraries] Tim | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== API GroIMP user guide ====== | + | ====== API ====== |
| - | With the use of the GroLink Project | + | GroIMP can be started as an HTTP API that provides a generalized set of commands allowing interaction from other software. Currently a Python and a R library are provided but any software capable of HTTP requests |
| + | |||
| + | <uml> | ||
| + | @startuml | ||
| + | !pragma teoz true | ||
| + | hide footbox | ||
| + | title API | ||
| + | |||
| + | participant User | ||
| + | participant ClientScript | ||
| + | participant API | ||
| + | participant GroIMP | ||
| + | |||
| + | |||
| + | User -> GroIMP: Start GroIMP | ||
| + | User -> ClientScript | ||
| + | ClientScript < | ||
| + | & API< | ||
| + | User <- ClientScript | ||
| + | User -> GroIMP: Stop GroIMP | ||
| + | |||
| + | |||
| + | @enduml | ||
| + | </ | ||
| ===== Installation and execution ===== | ===== Installation and execution ===== | ||
| Line 107: | Line 130: | ||
| Due to the generalized approach using registry paths, the HTTP commands are quite long and complex. | Due to the generalized approach using registry paths, the HTTP commands are quite long and complex. | ||
| To ease this and the management of the workbenches, | To ease this and the management of the workbenches, | ||
| + | A mirror to the repositories can be found here: https:// | ||
| + | |||
| ==== GroPy ==== | ==== GroPy ==== | ||
| Line 113: | Line 138: | ||
| pip install GroPy --index-url https:// | pip install GroPy --index-url https:// | ||
| </ | </ | ||
| - | Additionally it is possible to only get the file GroPy.py from the repository and link it directly. | + | Additionally it is possible to only get the file GroPy.py from the repository |
| === Structure === | === Structure === | ||
| Line 145: | Line 170: | ||
| [[https:// | [[https:// | ||
| - | ===== Tutorials | + | {{ : |
| + | |||
| + | === Installation | ||
| + | |||
| + | The GroR package is not added to any public repository | ||
| + | |||
| + | == Adding the R file as a Source | ||
| + | |||
| + | It is possible to download the GroR.R file from this repository and link it to your R file with this code: | ||
| + | '' | ||
| + | |||
| + | == Package == | ||
| + | |||
| + | The releases contain packages that can be installed directly with either the R command: | ||
| + | |||
| + | '' | ||
| + | |||
| + | Alternatively, | ||
| + | |||
| + | === Structure === | ||
| + | |||
| + | The library comes with two sets for functions, one set with the prefix " | ||
| + | |||
| + | |||
| + | ===== More documentation ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[: | ||
| ===== Tutorials ===== | ===== Tutorials ===== | ||
| + | |||
| + | * [[: | ||
| * [[: | * [[: | ||
| * [[: | * [[: | ||
| * [[: | * [[: | ||
| * [[: | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| ===== Examples ===== | ===== Examples ===== | ||
| - | * [[https:// | + | |
| - | * [[https:// | + | We provide examples in Python, R and Godot to get a first impression: |
| - | * [[https:// | + | Additionally you can find there a ready to use docker container to ease the first tests. |
user-guide/additional_interfaces/api.1737545616.txt.gz · Last modified: 2025/01/22 12:33 by Tim
