Metron-Project / mokkari

Python wrapper for Metron API
GNU General Public License v3.0
9 stars 1 forks source link

series_list returns 'display_name' instead of 'name' for Series objects #40

Closed themadman0980 closed 1 year ago

themadman0980 commented 1 year ago

Describe the bug When running a series_list search through mokkari, I'm getting results with a 'display_name' field instead of just 'name'. From what I can see, this includes the series start year in the name.

Expected behavior It would be much nicer if the name field was returned without including a start year in brackets. The 'year_began' field already contains this information, and it makes name matching much more tedious when I have to first clean up the title before processing.

Screenshot 2023-10-04 at 2 16 04 pm

Extra Information This seems to be a limitation of the API, not mokkari. When testing on the API page, you can see similar results for every Series object.

Screenshot 2023-10-04 at 2 25 34 pm
themadman0980 commented 1 year ago

Recreated bug report on Metron page as this is API related.