Skip to content

shahronak47/bsetools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bsetools

Helps to get bse quotes from bseindia.com. Available on PyPI now at : https://pypi.python.org/pypi/bsetools/

Blog here - Bsetools - BSE share prices

Instalation

pip install bsetools

Python 2.7+

from bsetools import bsetools

obj = bsetools()
print(obj.get_quote('Infosys'))

#[1] 1103.80

Python 3.5+

from bsetools import bsetools

obj = bsetools.bsetools()
print(obj.get_quote('Infosys'))

#[1] 1103.80

In case if wrong stock names are given which does not match it returns the message accordingly.

print(obj.get_quote("acdfssklmkfv"))

#No relevant share price found for acdfssklmkfv

About

Get BSE Quotes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages