tooot-app / app

https://tooot.app
GNU General Public License v3.0
233 stars 23 forks source link

neodb api change #741

Closed alphatownsman closed 1 year ago

alphatownsman commented 1 year ago

hey, neodb are adding/changing some api endpoints, more on that https://neodb.social/developer/

the change should be rather straight forward, let me know if anything I can clarify or help you migrate.

the deprecated APIs will be kept until Aug 1st.

xmflsct commented 1 year ago

Upgrading the API calls now, and adding the new performance type. I notice that the UI will include a list of "productions" while the API does not include. Is there a plan to expose such information when querying performance? It can be similar to the seacon_count in the tv entity, exposing a production_count in performance.

alphatownsman commented 1 year ago

thank you, good point.

for seacon_count, it's not count(show.seasons) but a field can be changed arbitrarily. there might be cases like a show has 5 seasons + 1 special, or a show may have 50 seasons but neodb somehow does not get all their data.

we might add sth like productions or production_uuids in the future, if there's a use case.