Skip to content

Crypto prices updated regularly and via GitHub Actions

License

Notifications You must be signed in to change notification settings

ukd1/crypto-prices

Repository files navigation

Crypto Prices

This repo contains crypto prices and history updated direct from APIs. It's currently updated automatically using Github Actions.

Usage

You can access the most recent JSON data via this repos Github page: e.g. https://ukd1.github.io/crypto-prices/coinbase/products.json

If you want to access historic data, clone the repo and scan through the commits for a particular JSON file, or use the jsonl files.

Sources

Coinbase

Coinbase is updated roughly every 15 minutes. The data we fetch and update is:

  • Currencies
  • Procuct list
  • The 24h stats for each product

Contributing

Pull requests are accepted. You should:

  • write the code in Ruby only, and keep it simple and readable
  • output JSON to consistent files, and pretty_generate it
  • add a github workflow per source of data

Rebuilding

To rebuild the jsonl files:

rm -rf coinbase/jsonl/*.jsonl
go run make_full_history.go

About

Crypto prices updated regularly and via GitHub Actions

Topics

Resources

License

Stars

Watchers

Forks