# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test CryptoLoansApi")
api.instance <- CryptoLoansApi$new()
test_that("SapiV1LoanIncomeGet", {
# tests for SapiV1LoanIncomeGet
# base path: https://api.binance.com
# Get Crypto Loans Income History (USER_DATA)
# - If startTime and endTime are not sent, the recent 7-day data will be returned. - The max interval between startTime and endTime is 30 days. Weight(UID): 6000
# @param asset character
# @param timestamp integer UTC timestamp in ms
# @param signature character Signature
# @param type character All types will be returned by default. Enum: borrowIn, collateralSpent, repayAmount, collateralReturn (Collateral return after repayment), addCollateral, removeCollateral, collateralReturnAfterLiquidation (optional)
# @param start.time integer UTC timestamp in ms (optional)
# @param end.time integer UTC timestamp in ms (optional)
# @param limit integer default 20, max 100 (optional)
# @param recv.window integer The value cannot be greater than 60000 (optional)
# @return [array[InlineResponse200119]]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.