Closed
Description
Email (Optional)
No response
Version
v0.35.1
Which OS(es) are you using?
- MacOS
- Windows
- Linux
What happened?
The MPRester.get_entries method always returns duplicated results. For example, the following script returns 3 entries for mp-149. It will be convenient if duplicated entries are removed in the results of get_entries. Thank you very much.
Code snippet
from mp_api.client import MPRester
mpr = MPRester("32-digit API key")
entry = mpr.get_entries("mp-149")
print(len(entry))
Log output
UserWarning: mpcontribs-client not installed. Install the package to query MPContribs data, or construct pourbaix diagrams: 'pip install mpcontribs-client'
3
Code of Conduct
- I agree to follow this project's Code of Conduct