Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyaesoneaungrgn/2d-crawler
2D crawler for set.or.th
https://github.com/pyaesoneaungrgn/2d-crawler
2d 2d-crawler crawler myanmar php
Last synced: about 2 months ago
JSON representation
2D crawler for set.or.th
- Host: GitHub
- URL: https://github.com/pyaesoneaungrgn/2d-crawler
- Owner: PyaeSoneAungRgn
- License: mit
- Created: 2023-02-01T14:20:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-25T08:56:10.000Z (9 months ago)
- Last Synced: 2024-03-25T10:06:08.931Z (9 months ago)
- Topics: 2d, 2d-crawler, crawler, myanmar, php
- Language: PHP
- Homepage:
- Size: 50.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Run tests](https://github.com/PyaeSoneAungRgn/2d-crawler/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/PyaeSoneAungRgn/2d-crawler/actions/workflows/run-tests.yml)
# 2D Crawler
2D crawler for [set.or.th](https://www.set.or.th/th/market/product/stock/overview)
## Installation
```bash
composer require pyaesoneaung/2d-crawler
```## Usage
```php
use PyaeSoneAung\TwoDigitCrawler\TwoDigitCrawler;$twoDigit = new TwoDigitCrawler;
$twoDigit->getSet(); // "1,685.75"
$twoDigit->getVal(); // "63,797.02"
$twoDigit->getNumber(); // "57"
$twoDigit->getStatus(); // "Closed"
```## Testing
```bash
composer test
```