NEED HELP: Communication between two arduinos using xbee [library : Andrewrapp]

Can anyone help me?
I want to make two arduinos send strings with unknown length using XBee API.
My XBee(s) dont use any XBee shield. It is only using serial communication.

have anyone here tried to make a same project like me?
i need some simple code that is easy to understand.... (since i am dumb with the memory packet, address, mapping). Maybe if theres somebody can give me a short tutorial, it would be better too...

thank you!

2 x Arduino Mega 2560
2 x XBee S2C

If you have onle two XBees, and you want to send just strings, why are you using API mode?

Use AT mode, and be done with it.