# Copyright 2017 Shortest Track Company. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distributed under the License # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express # or implied. See the License for the specific language governing permissions and limitations under # the License. from st_library import Library st_lib = Library() st_lib.set_token('Bearer token') st_lib.set_config_id('98a599e9-e5b8-49fc-b5ca-0750bb0a785b') df = st_lib.struct_data.read_sec_matrix("bd94d0d1-30ef-4fa4-900f-e99ef4e33dcd", "62a9058c_07e8_4c61_8da0_0f822952447e", "NewTableForXing") print (df)
from st_library import Library st_lib = Library() st_lib.set_token('token') st_lib.set_config_id('52db99d3-edfb-44c5-b97a-f09df4402081') print( st_lib.unstruct_data.download_file("19a29b9b-bea2-40fb-89c4-555bba829539", "image.jpg"))
from st_library import Library st_lib = Library() st_lib.set_token('Bearer token') print( st_lib.unstruct_data.download_file("19a29b9b-bea2-40fb-89c4-555bba829539", "RandomForest_train.rds"))
from st_library import Library st_lib = Library() st_lib.set_token('token') print(st_lib.unstruct_data.download_file("19a29b9b-bea2-40fb-89c4-555bba829539","RandomForest_train.rds"))
# Copyright 2017 Shortest Track Company. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distributed under the License # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express # or implied. See the License for the specific language governing permissions and limitations under # the License. from st_library import Library st_lib = Library() st_lib.set_token('token') st_lib.set_config_id('b11c26ec-893e-445c-a5e7-b74f99444e0c') df = st_lib.struct_data.get_parameters() print(df)