Visualization API
The Visualization API provides endpoints for visualizing AGMRI files. Below are the available endpoints along with examples
- Visualization of the field image
- Visualization of the field image compare
- Visualization of the PSA Charts
Each section includes the endpoint details, request methods, descriptions, and example code snippets in Bash, Python, and JavaScript.
Visualization of the field image
Warning
This endpoint documentation is under construction.
Visualization of the field image compare
Warning
This endpoint documentation is under construction.
Visualization of the PSA Charts
- Endpoint:
https://api.ia-2024b.algo-rythmn.ai/viz/PSA_chart - Method: GET
- Description: Visualize the PSA chart for a specific type of chart using the chart ID.
- Request Parameters:
id: The ID of the PSA chart to visualize.
Example
curl -X GET "https://api.ia-2024b.algo-rythmn.ai/viz/PSA_chart?id=260c2cea-e01a-4b67-8de9-835c3fe07bb5"
import requests
response = requests.get(
"https://api.ia-2024b.algo-rythmn.ai/viz/PSA_chart",
params={"id": "260c2cea-e01a-4b67-8de9-835c3fe07bb5"}
)
print(response.status_code)
fetch("https://api.ia-2024b.algo-rythmn.ai/viz/PSA_chart", {
method: "GET",
params: {
id: "260c2cea-e01a-4b67-8de9-835c3fe07bb5"
}
})
.then(response => response.json())
Response
A HTML page containing the PSA chart visualization.