mah51 / ScuffedMDB

An open-source website to rate movies watched with friends, made with next.js & chakra-ui. Hosted on vercel.com.
https://smdb.mikeroph.one
MIT License
104 stars 15 forks source link

Set a new film via API #71

Open olig89 opened 9 months ago

olig89 commented 9 months ago

Description

There may already be a way to do this but it would be great if there was a way to add a new film with an API call

In relation to...

API route (/pages/api/*)

Justification

Would allow automation to take over the only admin task of running it :D

Proposed Solution

  1. Could be by supplying the TMDB ID
  2. Could also be by supplying the Name+Year

I guess #1 is least hassle to implement, basically shortcutting your searching pipeline

Additional Information

No response