Skip to content

Commit 07b21c8

Browse files
Juliana MashonJuliana Mashon
Juliana Mashon
authored and
Juliana Mashon
committed
Added examples to README
1 parent 74fb08b commit 07b21c8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,19 @@ bot.set_verbosity(2)
8787
### Test 1: Add a new plant to your garden
8888

8989
This test will help familiarize you with sending commands via the [API](https://developer.farm.bot/docs/web-app/rest-api).
90+
```
91+
new_cabbage = {
92+
"name": "Cabbage",
93+
"pointer_type": "Plant",
94+
"x": 400,
95+
"y": 300,
96+
"z": 0,
97+
"openfarm_slug": "cabbage",
98+
"plant_stage": "planned",
99+
}
100+
101+
fb.add_info("points", new_cabbage)
102+
```
90103

91104
### Test 2: Turn your LED strip on and off
92105

0 commit comments

Comments
 (0)