ncssar / sartopo_python

Python calls for the caltopo / sartopo API
GNU General Public License v3.0
14 stars 2 forks source link

accountId: determine automatically if possible, in case it is different for each host #40

Open caver456 opened 2 years ago

caver456 commented 2 years ago

accountId required for CTD 4214 is different than accountId for online. Is that still true for more recent CTD?

Where is accountId used in sartopo_phython:

Anyway: it would be best to determine accountId automatically at runtime, rather than needing to hardcode it in the config file. If it is still different on different hosts, maybe the config file will have to have multiple accountId entries - one per host.

If it still does need to be different per host, then how would CTD determine the correct accountId needed to send a print request to sartopo.com?