All Projects → guptarohit → Cryptocmd

guptarohit / Cryptocmd

Licence: bsd-3-clause
Cryptocurrency historical price data library in Python. Data from https://coinmarketcap.com.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cryptocmd

Crypto
Cryptocurrency Historical Market Data R Package
Stars: ✭ 112 (-62.54%)
Mutual labels:  cryptocurrency, dataset
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (+127.09%)
Mutual labels:  utility, hacktoberfest
Antminer Monitor
Cryptocurrency ASIC mining hardware monitor using a simple web interface
Stars: ✭ 176 (-41.14%)
Mutual labels:  cryptocurrency, hacktoberfest
Finance Go
📊 Financial markets data library implemented in go.
Stars: ✭ 392 (+31.1%)
Mutual labels:  cryptocurrency, scraper
Fselect
Find files with SQL-like queries
Stars: ✭ 3,103 (+937.79%)
Mutual labels:  utility, hacktoberfest
Informer
A Telegram Mass Surveillance Bot in Python
Stars: ✭ 745 (+149.16%)
Mutual labels:  cryptocurrency, scraper
Git Fresh
🍋 Keep your Git repo fresh.
Stars: ✭ 480 (+60.54%)
Mutual labels:  utility, hacktoberfest
Lacmus
Lacmus is a cross-platform application that helps to find people who are lost in the forest using computer vision and neural networks.
Stars: ✭ 142 (-52.51%)
Mutual labels:  hacktoberfest, dataset
Ridereceipts
🚕 Simple automation desktop app to download and organize your receipts from Uber/Lyft. Try out our new Ride Receipts PRO !
Stars: ✭ 117 (-60.87%)
Mutual labels:  utility, scraper
Snoopwpf
Snoop - The WPF Spy Utility
Stars: ✭ 1,286 (+330.1%)
Mutual labels:  utility, hacktoberfest
Ccxws
WebSocket client for 38 cryptocurrency exchanges
Stars: ✭ 341 (+14.05%)
Mutual labels:  cryptocurrency, hacktoberfest
youtube-unofficial
Access parts of your account unavailable through normal YouTube API access.
Stars: ✭ 33 (-88.96%)
Mutual labels:  utility, scraper
Skrape.it
A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
Stars: ✭ 231 (-22.74%)
Mutual labels:  hacktoberfest, scraper
Crypto Touchbar
A script for BetterTouchTool which allows you to track to price of different cryptocurrencies on the touchbar.
Stars: ✭ 75 (-74.92%)
Mutual labels:  cryptocurrency, hacktoberfest
Demeter
Demeter is a tool for scraping the calibre web ui
Stars: ✭ 155 (-48.16%)
Mutual labels:  hacktoberfest, scraper
Vuex Rest Api
A utility to simplify the use of REST APIs with Vuex
Stars: ✭ 365 (+22.07%)
Mutual labels:  utility, hacktoberfest
Bandcamp Scraper
A scraper for https://bandcamp.com
Stars: ✭ 137 (-54.18%)
Mutual labels:  hacktoberfest, scraper
Netcdf Fortran
Official GitHub repository for netCDF-Fortran libraries, which depend on the netCDF C library. Install the netCDF C library first.
Stars: ✭ 141 (-52.84%)
Mutual labels:  hacktoberfest, dataset
Executor
Watch for file changes and then execute command. Very nice for test driven development.
Stars: ✭ 14 (-95.32%)
Mutual labels:  utility, hacktoberfest
Pareto.js
An extremely small, intuitive and fast functional utility library for JavaScript
Stars: ✭ 254 (-15.05%)
Mutual labels:  utility, hacktoberfest

.. --restructuredtext--

cryptoCMD: cryptoCurrency Market Data

.. image:: https://img.shields.io/pypi/v/cryptoCMD.svg :target: https://pypi.python.org/pypi/cryptoCMD

.. image:: https://travis-ci.org/guptarohit/cryptoCMD.svg?branch=master :target: https://travis-ci.org/guptarohit/cryptoCMD

.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fguptarohit%2FcryptoCMD.svg?type=shield :target: https://app.fossa.io/projects/git%2Bgithub.com%2Fguptarohit%2FcryptoCMD?ref=badge_shield :alt: FOSSA Status

.. image:: https://img.shields.io/pypi/l/cryptoCMD.svg :target: https://github.com/guptarohit/cryptoCMD/blob/master/LICENSE

.. image:: https://img.shields.io/pypi/pyversions/cryptoCMD.svg :target: https://pypi.python.org/pypi/cryptoCMD

.. image:: https://pepy.tech/badge/cryptoCMD :target: https://pepy.tech/project/cryptoCMD :alt: Downloads

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black :alt: Code style: black

Cryptocurrency historical market price data scraper written in Python.

Installation

::

$ pip install cryptocmd

to install from the latest source use following command

::

$ pip install git+git://github.com/guptarohit/cryptoCMD.git

Usage

===================== CoinMarketCap Scraper

Following methods are available to get data in multiple formats from https://coinmarketcap.com

To get all time historical data of a cryptocurrency ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: python

from cryptocmd import CmcScraper

# initialise scraper without time interval
scraper = CmcScraper("XRP")

# get raw data as list of list
headers, data = scraper.get_data()

# get data in a json format
xrp_json_data = scraper.get_data("json")

# export the data as csv file, you can also pass optional `name` parameter
scraper.export("csv", name="xrp_all_time")

# Pandas dataFrame for the same data
df = scraper.get_dataframe()

To get data of a cryptocurrency for some days ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: python

from cryptocmd import CmcScraper

# initialise scraper with time interval
scraper = CmcScraper("XRP", "15-10-2017", "25-10-2017")

# get raw data as list of list
headers, data = scraper.get_data()

# get data in a json format
json_data = scraper.get_data("json")

# export the data to csv
scraper.export("csv")

# get dataframe for the data
df = scraper.get_dataframe()

Following are the columns of the data """"""""""""""""""""""""""""""""""""" Date, Open, High, Low, Close, Volume, Market Cap

Acknowledgements

The data is being scrapped from coinmarketcap <https://coinmarketcap.com>_ ✌️ and it's free <https://coinmarketcap.com/faq/>_ to use. 🎉

Contributing

Feel free to make a pull request!

If you found this useful, I'd appreciate your consideration in the below. ✨☕

.. image:: https://user-images.githubusercontent.com/7895001/52529389-e2da5280-2d16-11e9-924c-4fe3f309c780.png :target: https://www.buymeacoffee.com/rohitgupta :alt: Buy Me A Coffee

.. image:: https://user-images.githubusercontent.com/7895001/52529390-e8379d00-2d16-11e9-913b-4d09db90403f.png :target: https://www.patreon.com/bePatron?u=14009502 :alt: Become a Patron!

License

.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fguptarohit%2FcryptoCMD.svg?type=large :target: https://app.fossa.io/projects/git%2Bgithub.com%2Fguptarohit%2FcryptoCMD?ref=badge_large :alt: FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].