View source: R/api_connector.R
This function allows you to POST new Farm with the API and retrieve your API KEY
1 2 3 4 5 6 7 8 | asapi_farm_post(
client,
farm_name,
geojson = "NULL",
email,
api_key,
url = "https://api.agrospace.cl"
)
|
client |
Client name |
farm_name |
Farm name to be set |
geojson |
geojson apram |
email |
email of user |
api_key |
Api Key obtain from /auth |
url |
URL for dev purpose |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.