export pending orders

[Deleted]
How can i export pending orders into my program?