tests/testthat/test_nft_api.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test NFTApi")

api.instance <- NFTApi$new()

test_that("SapiV1NftHistoryDepositGet", {
  # tests for SapiV1NftHistoryDepositGet
  # base path: https://api.binance.com
  # Get NFT Deposit History(USER_DATA)
  # - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days&#39; data will be returned.  Weight(UID): 3000
  # @param timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param start.time integer UTC timestamp in ms (optional)
  # @param end.time integer UTC timestamp in ms (optional)
  # @param limit integer Default 50, Max 50 (optional)
  # @param page integer Default 1 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse200124]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("SapiV1NftHistoryTransactionsGet", {
  # tests for SapiV1NftHistoryTransactionsGet
  # base path: https://api.binance.com
  # Get NFT Transaction History (USER_DATA)
  # - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days&#39; data will be returned.  Weight(UID): 3000
  # @param order.type integer 0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee
  # @param timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param start.time integer UTC timestamp in ms (optional)
  # @param end.time integer UTC timestamp in ms (optional)
  # @param limit integer Default 50, Max 50 (optional)
  # @param page integer Default 1 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse200123]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("SapiV1NftHistoryWithdrawGet", {
  # tests for SapiV1NftHistoryWithdrawGet
  # base path: https://api.binance.com
  # Get NFT Withdraw History (USER_DATA)
  # - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days&#39; data will be returned.  Weight(UID): 3000
  # @param timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param start.time integer UTC timestamp in ms (optional)
  # @param end.time integer UTC timestamp in ms (optional)
  # @param limit integer Default 50, Max 50 (optional)
  # @param page integer Default 1 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse200125]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("SapiV1NftUserGetAssetGet", {
  # tests for SapiV1NftUserGetAssetGet
  # base path: https://api.binance.com
  # Get NFT Asset (USER_DATA)
  # Weight(UID): 3000
  # @param timestamp integer UTC timestamp in ms
  # @param signature character Signature
  # @param limit integer Default 50, Max 50 (optional)
  # @param page integer Default 1 (optional)
  # @param recv.window integer The value cannot be greater than 60000 (optional)
  # @return [InlineResponse200126]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})
grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.