Code Monkey home page Code Monkey logo

dse-scrapper's Introduction

Dhaka Stock Exchange Scrapper

Scrapping Dhaka Stock Exchange (DSE) data were never easier. Easy to use API. Pull requests, bug reports, feature requests are welcome.

Install

install using composer

{
    "require": {
        "nadimtuhin/dse-scrapper": "0.1.*@dev"
    }
}

Usage

require_once('vendor/autoload.php');

$scrapper = new NadimTuhin\DSE\DseScrapper();
$data = $scrapper->scrap();

print_r($data);

Data Structure

array:321 [▼
  0 => array:10 [▼
    "trading_code" => "1JANATAMF"
    "ltp" => "4.1"
    "high" => "4.3"
    "low" => "4.1"
    "closep" => "4.1"
    "ycp" => "4.3"
    "change" => "-0.2"
    "trade" => "80"
    "value" => "1.187"
    "volume" => "283,615"
  ]
  1 => array:10 [▼
    "trading_code" => "1STICB"
    "ltp" => "1,105"
    "high" => "1,105"
    "low" => "1,103.9"
    "closep" => "1,104"
    "ycp" => "1,075"
    "change" => "30"
    "trade" => "5"
    "value" => "0.05"
    "volume" => "45"
  ]
  2 => array:10 [▶]
  3 => array:10 [▶]
  4 => array:10 [▶]
  5 => array:10 [▶]
  6 => array:10 [▶]
  7 => array:10 [▶]
  8 => array:10 [▶]
  9 => array:10 [▶]
  10 => array:10 [▶]
  11 => array:10 [▶]
  12 => array:10 [▶]
  13 => array:10 [▶]
  ....

dse-scrapper's People

Contributors

nadimtuhin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.