Api Integration

How to get data from another server to erpnext using API call?