For any dataset or API with a Creative Commons by Attribution 4.0 licence, you may reuse and redistribute the data. Please check the licence for the data you are using.
faq category
DataAccess
Can I reuse or redistribute TfNSW data?