This class parses the DeviceAtlas JSON data file and represents the
data.
|
|
__init__(self,
json,
config)
Load the JSON tree into a dictionary. |
|
|
|
|
set_config(self,
config)
Applies a new configuration object to the tree instance. |
|
|
|
|
|
|
|
data_version(self)
Returns the device data (JSON file) version. |
|
|
|
|
|
|
|
put_properties(self,
user_agent,
stock_user_agents,
client_side_properties,
properties)
Get properties from tree walk, User-Agent and client side and put
them in the Tree properties. |
|
|
|
|
put_tree_walk_properties(self,
user_agent,
stock_user_agents,
properties)
Get properties from tree walk and User-Agent and put them in the Tree
properties. |
|
|
|
|
| property_name_by_id(self,
property_id) |
|
|
|
|
| property_value_by_id(self,
value_id) |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|