The code snippet suggesting an API call that corresponds to, e.g., downloading a specific task (which show up at the bottom of the web page e.g. Materials Project - Materials Explorer - mp-2508331) include
tasks_doc = mpr.tasks.get_data_by_id(
which results in the following deprecation warning
DeprecationWarning: Accessing tasks data through MPRester.tasks is deprecated. Please use MPRester.materials.tasks instead
Could that web-site text be updated? Looks to me like it just needs to be mpr.materials.tasks.get_data_by_id
.