UNPKG

@tennac-booking/sdk

Version:

OpenAPI client for @tennac-booking/sdk

102 lines (64 loc) 2.38 kB
# ClubAnalyticsApi All URIs are relative to *http://localhost* |Method | HTTP request | Description| |------------- | ------------- | -------------| |[**getMostLikedClub**](#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs | | |[**getPopularClubs**](#getpopularclubs) | **GET** /api/club-analytics/popular-clubs | | # **getMostLikedClub** > Array<any> getMostLikedClub() Récupère les clubs les plus aimés ### Example ```typescript import { ClubAnalyticsApi, Configuration } from '@tennac-booking/sdk'; const configuration = new Configuration(); const apiInstance = new ClubAnalyticsApi(configuration); const { status, data } = await apiInstance.getMostLikedClub(); ``` ### Parameters This endpoint does not have any parameters. ### Return type **Array<any>** ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | Clubs les plus aimés | - | |**401** | Unauthorized | - | |**500** | Server Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **getPopularClubs** > Array<any> getPopularClubs() Récupère les clubs populaires ### Example ```typescript import { ClubAnalyticsApi, Configuration } from '@tennac-booking/sdk'; const configuration = new Configuration(); const apiInstance = new ClubAnalyticsApi(configuration); const { status, data } = await apiInstance.getPopularClubs(); ``` ### Parameters This endpoint does not have any parameters. ### Return type **Array<any>** ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | Clubs populaires | - | |**401** | Unauthorized | - | |**500** | Server Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)