ERPnext fetch items with quantity

hi guys, i need to fecth all the items with the current quantity, where can i find the proper documentation of de server side API? o r u can provide some nippet? thanks in advantage

See “Stock Balance” report, then use the “Export” URL to rengerate it!

You will have to login / authenticate yourself first though.

See GitHub - frappe/frappe-client: Python library to use Frappe API

i didn’t explain myself well, i wanted to fetch this data via js
im using
method: 'erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_items'
and then call
method: "erpnext.stock.get_item_details.get_available_qty" for each item

i dont know if this is the proper way

but i also want to update de quantity js and python, so im thinking to create a Stock Reconciliation Doc and then add the ditails or there is another way just calling the server methods?

thanks in advantage

@yohendry_hurtado share your full script.

this is the js code

this is the python

im just traying to make the funcitonality of stock reconciliation, but in a exel like table by requierements

This might oot from the op or outdated alr but this helped me out:

This will returns all your items with actual qty to date, but for now with no pagination nor filters added…

Thank you…