I am sure you’re right about an easier way. I am importing data from an app I wrote years ago so I can only blame myself. I want to support Trakt, TMDb, and Letterboxd.
Yeah, JSON (I am a web developer also) is a very tricky thing…especially since you said it’s from an app you wrote “years” ago. Trakt is constantly updating their APIs and how they consume such data so you are likely better off fully updating your app or finding an app that pulls the data with a much more recent code base that’s been tested to work already.
I know this doesn’t help at all, but I was bored LOL.
Yes, I am updating my app now. It is doing well exporting json and csv files in various formats. Now I just need to be sure I know the details of the format expected on the other end (Trakt JSON). I am excited about using Trakt! Expecially the Apple TV app.
I agree I should use the Trakt API instead of export/import. I’m just looking for a quicker solution to implement.