What is the language you intend to program in? The following appmeasurement libraries are available for use:
AppMeasurement Libraries
If none of these libraries work for you, at a bare minimum you can use the data insertion API:
Data Insertion API | Adobe Developer Connection
This would support using basic HTTP POST or HTTP GET to send data to Analytics data collection servers.