@Brball
Once you got that down, you might want to head over to this post, which will help you catch edge cases where data might be missing for some endpoints:
Happy BigFixing