migrate some rotten tomatoes api interaction code from track-your-trailer