AnalyticsApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • AnalyticsApi

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: Configuration

Methods

  • Summary

    Get All rating of a dapp

    Throws

    Memberof

    AnalyticsApi

    Parameters

    • dappId: string
    • Optional page: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<DappRatingResponse>>

  • Use this to get a user's rating for a dapp

    Summary

    Get User dApp Rating

    Throws

    Memberof

    AnalyticsApi

    Parameters

    • dappId: string
    • Optional userId: string
    • Optional userAddress: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<DappRatingRes>>

  • Use this to register a rating from a user for a dApp

    Summary

    Rate the dApp

    Throws

    Memberof

    AnalyticsApi

    Parameters

    • Optional body: DappRating

      Send the request with dApp parameters

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<DappRatingRes>>

  • Summary

    Download dapp Build

    Throws

    Memberof

    AnalyticsApi

    Parameters

    • dappId: string

      The dappId of dapp where to visit.

    • Optional userId: string
    • Optional userAddress: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

  • Summary

    Visit dapp's homepage

    Throws

    Memberof

    AnalyticsApi

    Parameters

    • dappId: string

      The dappId of dapp where to visit.

    • Optional userId: string
    • Optional userAddress: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

Generated using TypeDoc