Skip to content

Instantly share code, notes, and snippets.

@brenogcota
Created January 10, 2022 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brenogcota/b6a404c48b97a07e9aff4d3d2d22fe58 to your computer and use it in GitHub Desktop.
Save brenogcota/b6a404c48b97a07e9aff4d3d2d22fe58 to your computer and use it in GitHub Desktop.
constants
export const baseURL = 'https://api.linximpulse.com';
/**
* REQUIRED
* apiKey
* secretkey
* @param name - Page Name
* @param source - App, Desktop, Mobile..
* @param dummy - DevMode?
* @example &name=home&source=desktop&deviceId=123&dummy=true&homologation=true&showOnlyAvailable=true
*/
export const api_recommendations = 'https://recs.chaordicsystems.com/v0/pages/recommendations';
/**
* REQUIRED
* apiKey
* secretkey
* @param prefix
*/
export const api_autocomplete = 'https://api.linximpulse.com/engage/search/v3/autocompletes';
export const api_hotsite = 'https://api.linximpulse.com/engage/search/v3/';
/**
* REQUIRED
* @param apiKey
* @param secretkey
* @param terms
* @example ?apiKey=&terms=tenis
*/
export const api_search = 'https://api.linximpulse.com/engage/search/v3/';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment