Skip to main content

Unoffical Browser Based Python API of 5paisa

Project description

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")
#for easy access create ~/.5paisa.conf and user api.login() refer examples/5paisa.conf

#Get Margin
print(api.get_margin())

#Get Trade Book
print(api.get_trade_book())

#Firing Order
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

api5paisa-0.0.9.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

api5paisa-0.0.9-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file api5paisa-0.0.9.tar.gz.

File metadata

  • Download URL: api5paisa-0.0.9.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for api5paisa-0.0.9.tar.gz
Algorithm Hash digest
SHA256 dfc952da22aa4f2ed4e36f9835e797cdbe8eb34569eea85fb48326733d646c0c
MD5 cb5fc3dafc2fc18f4a7ad971b55648cb
BLAKE2b-256 dcc990f574d6d97432115bf6b2cc087edf5ac716d0b00db3ebf7fe9bfb0ff7ae

See more details on using hashes here.

File details

Details for the file api5paisa-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: api5paisa-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for api5paisa-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ec0349c990d3558025e468b518495aad27569c67f592a09ac120693460694c
MD5 254183e79d81fcaea0dbe0b360a8ff0c
BLAKE2b-256 b93f638865ede3f6fd1bc19cf486f00028817869a4b6e942f69767bfd93f8f11

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page