Giter VIP home page Giter VIP logo

api-practice's Introduction

Crypto API Script

This project displays the latest price for Bitcoin

Bitcoin Logo

It also displays historical prices for the past 10 days.

Vitalik Buterin:

Whereas most technologies tend to automate workers on the periphery doing menial tasks, blockchains automate away the center. Instead of putting the taxi driver out of a job, blockchain puts Uber out of a job and lets the taxi drivers work with the customer directly.

Bitcoin and, more broadly, blockchain is undoubtedly a technology that is here to stay. This program aims to visualize the BTC-USD exchange rate, which remains very volatile. This is not financial advice~~, but if you don't believe in crypto I'll kill you~~!

Descripton of algorithm:

This algorithm does many things.

  • It prints the current price of Bitcoin.
  • It plots the Bitcoin's performance in the last 10 days on a line graph.
  • It uploads the historical data into a SQL database, but not before converting it into a pandas dataframe!

Guide:

If creating the database for the first time, use create_database_table(), with the dataframe and desired table name as parameters. If you just want to edit/update the table, use load_database() and edit with MySQL, then use save_database().

External info:

Current BTC-USD exchange rate is taken from the Bitcoin Price Index, courtesy of Coindesk.

Click here for API information

api-practice's People

Contributors

fegums avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.