Skip to content

Data Manager

Jetrin Chokchai edited this page Oct 11, 2018 · 3 revisions

Class: DataManager(call_api)

Represents an DataManager. (You most likely shouldn't be accessing this directly, use AcrosureClient#data instead.)


Constructor

DataManager(call_api)

Create an data manager.

Parameters:

Name Type Description
call_api function A function which call Acrosure API.

Members

call_api :function

call_api Function (which should be granted by AcrosureClient#callAPI )

Type:

  • function

Methods

get(args) → {dict}

Get data of a handler.

Parameters:

Name Type Description
handler string A handler string.
dependencies list An array of dependencies (if needed).

Returns:

  • Available values for the combination of handler/dependencies.

Type

  • dict

Clone this wiki locally