[](https://travis-ci.org/Highjhacker/arkprice)
[](http://hits.dwyl.io/Highjhacker/priceark) [](https://opensource.org/licenses/MIT)
# ArkPrice
Fetch the price of Ark in any (crypto)currency.
## Built with
- [Python](https://www.python.org/)
- [Requests](http://docs.python-requests.org/en/master/)
## Installation
```shell
$ pip install arkprice
```
## Usage
### Fetching the price
You can fetch the price without any parameter, by default the return value will be in USD,
or specify multiples (crypto)currency you want to use.
```python
from ArkPrice import get_price
print(get_price("eur"))
print(get_price("eur", "btc", "usd"))
>>> {'EUR': 4.41}
>>> {'EUR': 4.41, 'BTC': 0.0004976, 'USD': 5.39}
```
### Output the price
Output the price directly in the console with the correct symbol of the currency.
```python
from ArkPrice import output_price
output_price("eur", "btc", "usd")
>>> 4.46 €
>>> 0.0004994 Ƀ
>>> 5.43 $
```
## TODOS
- [x] Core code.
- [ ] Write documentation.
- [x] Unit testing.
- [x] Package it.
- [x] Travis.
- [ ] Missing support for python 3.2.
- [ ] OSX Support ?
- [ ] Windows support ?
- [ ] More markets ?
- [x] CryptoCompare
- [ ] CoinMarketCap
- ...
## Authors
- Jolan Beer - Highjhacker
## License
ArkPrice is under MIT license. See the [LICENSE file](https://github.com/Highjhacker/arkprice/blob/master/LICENSE) for more informations.
[](http://hits.dwyl.io/Highjhacker/priceark) [](https://opensource.org/licenses/MIT)
# ArkPrice
Fetch the price of Ark in any (crypto)currency.
## Built with
- [Python](https://www.python.org/)
- [Requests](http://docs.python-requests.org/en/master/)
## Installation
```shell
$ pip install arkprice
```
## Usage
### Fetching the price
You can fetch the price without any parameter, by default the return value will be in USD,
or specify multiples (crypto)currency you want to use.
```python
from ArkPrice import get_price
print(get_price("eur"))
print(get_price("eur", "btc", "usd"))
>>> {'EUR': 4.41}
>>> {'EUR': 4.41, 'BTC': 0.0004976, 'USD': 5.39}
```
### Output the price
Output the price directly in the console with the correct symbol of the currency.
```python
from ArkPrice import output_price
output_price("eur", "btc", "usd")
>>> 4.46 €
>>> 0.0004994 Ƀ
>>> 5.43 $
```
## TODOS
- [x] Core code.
- [ ] Write documentation.
- [x] Unit testing.
- [x] Package it.
- [x] Travis.
- [ ] Missing support for python 3.2.
- [ ] OSX Support ?
- [ ] Windows support ?
- [ ] More markets ?
- [x] CryptoCompare
- [ ] CoinMarketCap
- ...
## Authors
- Jolan Beer - Highjhacker
## License
ArkPrice is under MIT license. See the [LICENSE file](https://github.com/Highjhacker/arkprice/blob/master/LICENSE) for more informations.
Metadata
Release files for ArkPrice 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ArkPrice-0.1.1.tar.gz | 3.0 kB | Without provenance | Details |
Release files / ArkPrice-0.1.1.tar.gz
| Download URL | ArkPrice-0.1.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a90e3fec679b2f847ee0cac88dcaeab9fe93a35907a13bed5e38eb27983cd47
|
|
BLAKE2b-256 checksum How to use checksums |
c1c4daeaa4b69c4b40bcd27c4d58f16b34e8d7ce0fd66ef52e7e158cea73017d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ArkPrice 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.