Module tetrio_api::http
source · Expand description
The module which actually lets you interact with the TETR.IO api You will find in here both a classic HTTP client which does not manage the cache and a HTTP client which stores the API responses in an in memory cache automatically You should always prefer using the cached http client to make sure to not spam the API.