Class: Aliexpress::Data

Inherits:
Base
  • Object
show all
Defined in:
lib/aliexpress/data.rb

Constant Summary

Constants inherited from Base

Base::ACCESS_TOKEN_KEY, Base::REFRESH_TOKEN_KEY

Class Method Summary collapse

Methods inherited from Base

api_endpoint

Class Method Details

.queryProductAddCartInfoEverydayById(params = {}) ⇒ Object

Parameters:

  • params (Hash) (defaults to: {})

24
25
26
# File 'lib/aliexpress/data.rb', line 24

def self.queryProductAddCartInfoEverydayById(params = {})
  api_endpoint 'api.queryProductAddCartInfoEverydayById', params
end

.queryProductBusinessInfoById(id = 0) ⇒ Object

Parameters:

  • id (Fixnum) (defaults to: 0)

    -


8
9
10
# File 'lib/aliexpress/data.rb', line 8

def self.queryProductBusinessInfoById(id = 0)
  api_endpoint 'api.queryProductBusinessInfoById', productId: id
end

.queryProductExposedInfoEverydayById(params = {}) ⇒ Object

Parameters:

  • params (Hash) (defaults to: {})

32
33
34
# File 'lib/aliexpress/data.rb', line 32

def self.queryProductExposedInfoEverydayById(params = {})
  api_endpoint 'api.queryProductExposedInfoEverydayById', params
end

.queryProductFavoritedInfoEverydayById(params = {}) ⇒ Object

Parameters:

  • params (Hash) (defaults to: {})

48
49
50
# File 'lib/aliexpress/data.rb', line 48

def self.queryProductFavoritedInfoEverydayById(params = {})
  api_endpoint 'api.queryProductFavoritedInfoEverydayById', params
end

.queryProductSalesInfoEverydayById(params = {}) ⇒ Object

Parameters:

  • params (Hash) (defaults to: {})

40
41
42
# File 'lib/aliexpress/data.rb', line 40

def self.queryProductSalesInfoEverydayById(params = {})
  api_endpoint 'api.queryProductSalesInfoEverydayById', params
end

.queryProductViewedInfoEverydayById(params = {}) ⇒ Object

Parameters:

  • params (Hash) (defaults to: {})

16
17
18
# File 'lib/aliexpress/data.rb', line 16

def self.queryProductViewedInfoEverydayById(params = {})
  api_endpoint 'api.queryProductViewedInfoEverydayById', params
end