0.0.11 • Published 3 years ago

ni-algolia-functions v0.0.11

Weekly downloads
23
License
-
Repository
github
Last release
3 years ago

NiAlgoliaFunctions

Simple functions to query and update data in indices for Algolia.

Requirements

This library requires packages bellow to be installed:

npm i algoliasearch

import the NiAlgoliaFunctionsModule module

import { NiAlgoliaFunctionsModule } from 'ni-algolia-functions';

@NgModule({
  imports: [
	NiAlgoliaFunctionsModule.forRoot({
        apiId: 'your_api_id',
        apiKey: 'your_api_key'
    })
  ],
})

Example Use

import { NiAlgoliaService } from 'ni-algolia-functions';

constructor(
    private algoliaService: NiAlgoliaService,
) { }

ngOnInit() {
    //Simple Search
    this.algoliaService.search(const args = {
        index: 'index_name',
        search: {
            query: value
        }
    })
}
0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago