Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BSE/NSE quote in PHP [closed]

Tags:

php

I want to display NSE/BSE quote in my PHP website. please let me know what I have to do, if I get the webservices for this then how to use it in PHP. Please help

like image 392
Zerotoinfinity Avatar asked Apr 10 '10 07:04

Zerotoinfinity


2 Answers

NSE/BSE refers to national/bombay stock exchange of india. I think you could look at http://www.programmableweb.com/ if any such api is available.

You can look at http://mayanks.blogspot.com/2009/09/api-for-bse-shares-data-in-india.html for ruby gem called BseQuote.

like image 193
dillisingh Avatar answered Sep 22 '22 01:09

dillisingh


You have to parse their data from their web sites:

  1. First select a page that contains your required data:

    for example: http://www.bseindia.com/mktlive/mktwatch.asp

  2. Now parse data using simple html dom parser

  3. Now store extracted data into your database.

  4. Now show your data in your website using your database

  5. You can code a script that can update your database on daily bases.

like image 45
Naveed Avatar answered Sep 19 '22 01:09

Naveed