Library code for Xbee transmitter and receiver

Greetings all,

I am writing a code to transmit a real-time analog signal that I am recording from a geophone. I am to send this signal using an Xbee transmitter, however, I have no idea of how to use the library for the transmitter and the receiver. Any help please,

Thank you in advance