ncssar / sartopo_python

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

add a function to add operational period #71

Closed caver456 closed 2 weeks ago

caver456 commented 1 month ago

Just seems like this is needed for completeness for sartopo_python 2.0.0 - after adding this function, there should be enough functionality to create all of the key aspects of a search just from code, if that were ever a need for some reason.

And - it should be pretty easy to implement.

caver456 commented 2 weeks ago

Note that request URLs are case sensitive: /Operationalperiod fails but /OperationalPeriod works. Add some code in apiUrlEnd processing inside sendRequest to account for this case.