Skip to content

Commit e0fe400

Browse files
committed
chore: update readme
1 parent 4f07a42 commit e0fe400

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
7171

7272
for result in recs.results.iter() {
7373
for hit in result.hits.iter() {
74-
println!("objectID={} score={:?}", hit.object_id, hit.score);
74+
println!("objectID={} score={:?} payload={:?}", hit.object_id, hit.score, hit.payload);
7575
}
7676
}
7777

@@ -88,7 +88,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
8888
## 🦀 Notes
8989

9090
- The library is lenient in (de)serialization to stay forward-compatible with Algolia responses.
91-
- Provide `queryParameters` via `RecommendRequest.query_parameters` / `TrendingFacetsRequest.query_parameters` as raw JSON.
91+
- This is not an official API client, this is a personal project done to learn Rust.
92+
- This project is not covered by Algolia SLA
93+
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94+
IMPLIED (see [LICENSE](LICENSE))
9295

9396
## 📜 License
9497

0 commit comments

Comments
 (0)