Hi @KevinJ
Check the linked post below. I think the library provided there should suit your needs or get you pointed in the right direction.
Thanks.
-Nick