Algolia SearchResponse Object as JSON (Custom Code)

Hello Flutterflow community,

I needed more advanced functionality beyond the native algolia search action, so I build a custom action that implements the algoliasearch dart package and returns the SearchResponse object as a json. This is useful for me because I specifically wanted metadata (nbHits, etc) but also wanted a flexible schema for returned Hits (i.e. not having to tie it to a specific datatype inside the editor).

Hope others are able to find this useful. I'm thinking about creating custom action for the algolia insights API as well if anyone else is interested.

Custom Action in Marketplace:

https://app.flutterflow.io/marketplace/item/7eUC6Sc88DfC8jAxEKlq

4
5 replies