Skip to content

Commit 14c33a5

Browse files
committed
initial commit
1 parent 404533c commit 14c33a5

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Includes, the Polygons, Weather, Satellite Imagery and Historical NDVI APIs.
1010
#### Polygons API
1111

1212
The Agro Polygons API provides for polygon creation, adding data, removing a polygon and listing information about one or more polygons.
13-
You can also retrieve the list of polygons from your account page.
13+
You can also retrieve the list of all polygons from your account page.
1414

1515
Reference: [Polygons](https://agromonitoring.com/api/polygons)
1616

@@ -73,6 +73,8 @@ See [*AgroApiExample*](https://github.com/workingDog/AgroApiExample) for an exam
7373

7474
**AgroProvider** has the following asynchronous functions, together with their equivalent callback methods:
7575

76+
Note, **AgroProvider** should be strongly referenced.
77+
7678
**Polygons**
7779

7880
- createPoly(poly: AgroPolygon, reponse: Binding\<AgroPolyResponse>)
@@ -102,7 +104,6 @@ See [*AgroApiExample*](https://github.com/workingDog/AgroApiExample) for an exam
102104
- getHistoricalNDVI(options: AgroOptions, reponse: Binding\<[AgroHistoryNDVI]>)
103105

104106

105-
106107
### Installation
107108

108109
Include the files in the **./Sources/AgroApi** folder into your project or preferably use **Swift Package Manager**.

Sources/AgroAPI/AgroClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public class AgroClient {
151151
}
152152

153153
/// fetch the historical NDVI data from the server.
154-
/// The server response is parsed then converted to an object.
154+
/// The server response is parsed then converted to an object, typically [AgroHistoryNDVI]
155155
///
156156
/// - Parameter options: the polygon id and other options specifying the request
157157
/// - Returns: return a AnyPublisher<T?, AgroAPIError>

0 commit comments

Comments
 (0)