How to use script import .fbx and set each node positions and key frame?

I am trying to use Blender 2.8 to render the project from CAD. There’s no problem for manual process, but the project is often updated, so I am looking for a way to automate it. Here’s my ideas, but I don’t know how to implement it.

Maybe use a script to

  1. import a .fbx file into blender scene and position it
  2. apply the shader to each object as the JSON file defines like
  3. set the key frame
  "object1": {
    "shader": "blender_shader1"
    "trans": {direction_vector, displacement, frameStart, frameEnd}
  "object2": {
    "shader": "blender_shader2"
    "trans": {direction_vector, displacement, frameStart, frameEnd}

I’ll appreciate your help.

anybody have an idea?