Update API.php

Fix octect/octet typo
Merge pull request #12 from DavidAnderson684/patch-1

Fix octect/octet typo