4mo
POST
/thermochemistry/json
Calculate Thermochemistry
Request body
file
spin
integerDefaults to 0Spin multiplicity - 1
charge
integerDefaults to 0Total molecular charge
filename
stringDefaults to structure.xyzPayload file name (change optional)
pressure
numberDefaults to 101325Pressure in Pa
temperature
numberDefaults to 298.15Temperature in K
const url = 'https://api.ouro.foundation/routes/stefanbringuier/thermochemistry/json';
const options = {
method: 'POST',
headers: {
'Authorization': 'ApiKey {your-ouro-api-key}',
'Content-Type': 'application/json'
}
};
const payload = {
"spin": 0,
"charge": 0,
"filename": "structure.xyz",
"pressure": 101325,
"temperature": 298.15
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Calculate Thermochemistry
Loading compatible actions...
Loading comments...