Metadata-Version: 2.1
Name: sharepp
Version: 1.0.1
Summary: Library for getting ETF and cryptocurrency prices.
Home-page: https://github.com/Plebo13/sharepp
Author: Lukas Brauckmann
Author-email: lukas.brauckmann@gmail.com
License: Apache License 2.0
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: bs4

# SharePriceProvider

![Testing](https://github.com/Plebo13/sharepp/actions/workflows/tests.yaml/badge.svg)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/fb03b5a446ae4a058e483c916e18d06c)](https://www.codacy.com/gh/Plebo13/sharepp/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Plebo13/sharepp&amp;utm_campaign=Badge_Grade)

## Installation

The best way to install SharePriceProvider is by using pip:
`pip install sharepp`

## Usage

To use SharePriceProvider simply import it into your python project. There are two main functions
available:

-   get_etf_price: Returns the current price of an ETF
-   get_coin_price: Returns the current price of a cryptocurrency

Supported coins:

-   Bitcoin
-   Ethereum
-   Binance Coin
-   Tether
-   Solana
-   Cardano
-   Ripple
-   USD Coin
-   Polkadot
-   Dogecoin

### Example

```python
from sharepp import SharePP, Coin

print(SharePP.get_etf_price("LU1781541179"))
print(SharePP.get_coin_price(Coin.ETHEREUM))
```

The above example prints the current prices of the *Lyxor Core MSCI World ETF*
and the current price of Ethereum.


