obsidian-media-db-plugin icon indicating copy to clipboard operation
obsidian-media-db-plugin copied to clipboard

Add My Drama List API

Open qubist-pixel-ux opened this issue 1 year ago • 14 comments

closes #14

  • This pr uses unofficial API because MyDramaList requires sending an email and specifying the title/app name to get API key. Users might not have App Name/Title. Plus it is very troublesome. (My Drama List API Request Page)
  • The unofficial API scrapes pages on the fly and responds to queries.
  • The API is hosted on vercel. Depending on vercel tier, it might become unavailable after too many requests and might cause bugs.
  • If a secure method to store api key is available, then it might be possible to use single developer API key for all users since the limit is very high.
  • Getting Official API key takes time. It has been many days since I requested the key. So unofficial API is the way to go.

Pending Tasks :

  • [x] Handle additional data
    • There is a lot of relevant data that cannot be included in the current movie and series modals. eg : Country, Tags, Rank, Popularity, etc
  • [x] Properly format runtime/duration
    • The runtime/duration is currently specified as 1 hr. 47 min. Convert this to duration datatype of dataview plugin 6hr7min
  • [x] Update Readme (After all tasks completed)

Sample API Response :

Search : https://kuryana.vercel.app/search/q/space%20sweepers Movie : https://kuryana.vercel.app/id/695815-blacklisted TV : https://kuryana.vercel.app/id/6741-running-man

qubist-pixel-ux avatar Jul 11 '24 20:07 qubist-pixel-ux