API getrecords limitations problem

API getrecords limitations problem

Hello

I have created a page with the code example in PHP and tried to fetch data from accounts table but I wasn't very successful.

My first problem is that only 20 records inserted to my local database from my crm and the other problem is that only 2 fields were transferred and the other fields remain empty.

I don’t know what is the problem, Please guide me through this.

Thanks