{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Working with MANTO data\n", "\n", "
Note that MANTO's API limits JSON requests to 1000 / 15 minutes from a given IP. This should be more than sufficient for use with DICES, since MANTO entities are cached locally after the first download. If, however, you do exceed the limit, then the call to MANTO will return an error and the DICES client will create a dummy MANTO entity with no data.
\n", "I've introduced the cache_empty=False default for getMantoID() and getMantoChar(), which specifies that an entity returned with an empty data attribute should not be cached, forcing an automatic re-download the next time it's used. If, however, you expect data to be empty, you can set cache_empty=True to prevent unnecessary calls to the MANTO server.