Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 2.89 KB

README.md

File metadata and controls

71 lines (52 loc) · 2.89 KB

UzmanParaScraper

UzmanParaScraper is a Python-based web scraper designed to extract stock data from the UzmanPara website. This tool allows users to retrieve stock information by providing a stock name.

Features

  • Scrape Stock Data: Retrieve stock data by providing a stock name.
  • Get Prices: Extract price associated with the stock.
  • Get Precentage: Extract precentage data associated with the stock.
  • Stock Info: Get Price, Precentage and State of the stock in a python dictionary.
  • Goto Stock: Ability to go to the stock page for more detailed and tailord scraping.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/UzmanParaScraper.git
  2. Navigate to the project directory:
    cd UzmanParaScraper
  3. Install the required dependencies:
    pip install -r requirements.txt

Usage

  1. Import the UzmanParaScraper class:
    from UzmanParaScraper import UPSCORE
  2. Create an instance of the scraper with the desired stock name:
    ups = UPSCORE('AEFES')
  3. Use the available methods to retrieve data:
    price = ups.get_price()
    precentage = ups.get_precentage()
    stock_dict = ups.stock_info()
    soup_stock_page = ups.goto_stock()

Lack of BIST100 API

Currently, there is no official API available for developers to access BIST100 stock data. This project aims to solve that problem on a small scale by scraping data from the UzmanPara website. Note that this tool currently works only with BIST100 companies.

TODO

  • Get News: Implement functionality to retrieve the latest news related to the stock.
  • Push Notifications via Email: Add a feature to send email notifications for stock updates.
  • Find Stock Name from Company Name or Vice Versa: Implement a method to find the stock name given a company name or find the company name given a stock name.
  • Support More Companies: Extend the scraper to support companies beyond the BIST100.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please open an issue or contact the repository owner.


Feel free to customize this README further based on your specific needs and project details.