| [06:40:43] | * tasosntasta[m] has joined #farmos |
| [06:41:08] | <tasosntasta[m]> | Good evening,... (full message at <https://matrix.org/oftc/media/v1/media/download/AUuBPPgEuDcChpUmgvLJ9QB1...) |
| [06:49:37] | <mstenta[m]> | Hi tasosntasta - farmOS doesn't come with any built in reports yet. If a module provides a report UI, it can put it in the "Reports" menu section. But that will only appear if a report is provided. |
| [06:50:24] | <tasosntasta[m]> | Thank you. Is there any other way i can use to analyze data that i havee import on FarmOS? |
| [06:51:53] | <mstenta[m]> | In the Records > Assets/Logs/Quantities pages you can use the Filter options to filter to the data you're looking for, and then use the Export CSV option to pull it out. Then you can use a spreadsheet or script or other application to do whatever you'd like. |
| [06:52:55] | <tasosntasta[m]> | Thank you very much for the response. Can i use an API so i can analyze it with Python? |
| [06:54:34] | <mstenta[m]> | Yes! farmOS provides an API endpoint for each resource type, so for example you can get all harvest logs by making a request to /api/log/harvest |
| [06:54:45] | <mstenta[m]> | More information here: https://farmos.org/development/api/ |
| [06:55:04] | <mstenta[m]> | There's also a farmOS.py library that serves as a wrapper for the API and has some helper methods |
| [06:55:05] | <tasosntasta[m]> | Thank you very much . |
| [06:55:07] | <mstenta[m]> | https://github.com/farmos/farmos.py |
| [06:55:33] | <tasosntasta[m]> | Thanks for all the informations. |
| [06:56:17] | <mstenta[m]> | farmOS basically just uses the JSON:API module that comes with Drupal to provide it's API, so most of the documentation can actually be found on drupal.org here; https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi... |
| [06:57:23] | <tasosntasta[m]> | I will read all the information so i can use it. Thanks! |