add example for fetching categories and sub-categories
Merge pull request #59 from techAPJ/patch-1

add example for fetching categories and sub-categories