A lightweight, Pythonic library for interacting with the Field Manager API — quickly retrieve project data, manage locations, and automate workflows, all from Python.
- Easy Integration: Each endpoint is ready to use—no manual HTTP calls needed.
- Auto-Generated & Up-to-Date: Always in sync with the latest Field Manager API updates.
- Full Coverage: Access every endpoint and model the Field Manager platform provides.
-
Install the package:
pip install field-manager-python-client
-
Authenticate: - Use the
authenticate
function to handle token retrieval automatically. This function will fetch a new token if the current one is expired or missing.from field_manager_python_client.api.projects import get_project_projects_project_id_get from examples.setup_auto_fetch_token import authenticate client = authenticate() # Handles token retrieval
-
Here's a quick example of how to fetch project information using the client:
from field_manager_python_client.api.projects import get_project_projects_project_id_get from examples.setup_auto_fetch_token import authenticate client = authenticate() project_id = "your-project-id" project_info = get_project_projects_project_id_get.sync(client=client, project_id=project_id) print(f"Project Name: {project_info.name}")
-
Check out the examples folder for scripts demonstrating how to:
-
Fetch organization(s)
-
Manage locations
-
Compare data sets and more
-
We welcome issues, bug reports, and feature requests!
Have fun building with the Field Manager Python Client! If you have questions or need help, feel free to open an issue. Happy coding! ✨