Handling extend api calls in DAGs

Hi

I wish to get information from one api, prepare it and send it to another api. How do I handle this scenario in a DAG(run)?

Code snippet will go a long way to help, thank you!