This collects a few functions I needed for a project interacting with an ArcGIS REST endpoint into one place.