api5paisa
Unoffical Browser Based Python API of 5paisa made at Unofficed.
Its created live today morning only. https://youtube.com/watch?v=2PXSfi0Rsho
Feel Free to Tweak it, Modify it and Add the rest of the missing functions to it at your pace.
Installation
Use the package manager pip to install api5paisa.
pip install api5paisa
Usage
from api5paisa import Api5Paisa
api = Api5Paisa()
api.login("email or clientId", "passowrd", "dob in the format ddMMyyyy")
print(api.get_margin())
print(api.get_trade_book())
order_response = api.order('SBIN', 170.2, 1)
print(order_response)
print(api.get_order_book())
Documentation
For Documentation and Sample Code, Refer - https://forum.unofficed.com/
Contributing
For Discussion and Improving this Code, Join - https://www.unofficed.com/chat/
License
MIT