Skip to content

Get data from ThermoHub database

Compare
Choose a tag to compare
@gdmiron gdmiron released this 18 Dec 21:10
· 5 commits to master since this release
2824c39
import thermohubclient as client
# configuration file containing database connection configuration 
databaseClient = client.DatabaseClient('hub-connection-config.json') 
# connects by default to https://db.thermohub.org hub_main database
databaseClient = client.DatabaseClient() 

databaseJSONstring = databaseClient.getDatabase('cemdata18')
databaseClient.saveDatabase('cemdata18', 'cemdata18-thermofun.json')