API documentation

Noob here, so, forgive me if this is some oversight on my part. I am using Python. While I do see URL endpoints to call (say, for accounts, orders), it isn’t clear to me on using rest functions. I have to really look into examples section to figure this out. As an example, get_account works. So, does list_orders. Where is it in the documentation that says “use list_orders” (instead of say, get_orders)? URL for account info: Account - Documentation | Alpaca

Nowhere here, it says get_account. Please advise. Thanks a bunch!

If I understand your question correctly, you want to know how each REST endpoint in the Alpaca documentation is mapped to the Python SDK.

This section in the Python SDK Github page has the mapping. GitHub - alpacahq/alpaca-trade-api-python: Python client for Alpaca's trade API

In this section we can see that list_orders() maps to GET /orders endpoint.

Thank you, Shankar!!