decrease the cruft
just-in-time retrieval of IP address and API token