Upgrade to API v2
Fix API endpoint
Use timestamp over at
Fix strncmp len
Remove function to make example runnable
Rename HEX to TO_HEX to avoid name collision