Analytics

In order to ease the integration with servcies related to visualization and supervision, we provide multiple endpoints which return information about the requests made to the other three endpoints documented in these pages.

Endpoints

Recommendation Weights

https://apprecommender.api.caixamagica.pt/analytics/wrecommendation

Returns

JSON with the following fields:

  1. status

    • 'ok'
    • 'nok'
  2. data

    • if status is 'ok', returns a dictionary where the keys are combinations of weights, and the values are the number of times that said combination was used to perform recommendation.

Search Weights

https://apprecommender.api.caixamagica.pt/analytics/wsearch

Returns

JSON with the following fields:

  1. status

    • 'ok'
    • 'nok'
  2. data

    • if status is 'ok', returns a dictionary where the keys are combinations of weights, and the values are the number of times that said combination was used to perform a search.

Base Recommendation Applications

https://apprecommender.api.caixamagica.pt/analytics/baserec

Returns

JSON with the following fields:

  1. status

    • 'ok'
    • 'nok'
  2. data

    • if status is 'ok', returns a dictionary where the keys are app ids, and the values are the number of times the key was used as a base application for "more like this" recommendation.

Search Queries

https://apprecommender.api.caixamagica.pt/analytics/squery

Returns

JSON with the following fields:

  1. status

    • 'ok'
    • 'nok'
  2. data

    • if status is 'ok', returns a dictionary where the keys are queries, and the values are the number of times the key was posed as a query to the system.

https://apprecommender.api.caixamagica.pt/analytics/recommended

Returns

JSON with the following fields:

  1. status

    • 'ok'
    • 'nok'
  2. data

    • if status is 'ok', returns a dictionary where the keys are app ids, and the values are the number of times the key was recommended.

Searched Applications

https://apprecommender.api.caixamagica.pt/analytics/searched

Returns

JSON with the following fields:

  1. status

    • 'ok'
    • 'nok'
  2. data

    • if status is 'ok', returns a dictionary where the keys are app ids, and the values are the number of times the key was returned as a search result.

Popularity

https://apprecommender.api.caixamagica.pt/analytics/popularity

Returns

JSON with the following fields:

  1. status

    • 'ok'
    • 'nok'
  2. data

    • if status is 'ok', returns a dictionary where the keys are app ids, and the values are the number of times the key was searched in the dataset endpoint.