General guidance on how to build your own model: 

Weekly insights: API