{"id":25931204,"url":"https://github.com/kayleexx/cryptocurrency-data-fetcher-and-analyzer","last_synced_at":"2025-10-05T10:19:47.042Z","repository":{"id":265971005,"uuid":"897001809","full_name":"Kayleexx/Cryptocurrency-Data-Fetcher-and-Analyzer","owner":"Kayleexx","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-01T20:30:02.000Z","size":55783,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-01T21:30:12.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kayleexx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T20:23:57.000Z","updated_at":"2024-12-01T20:30:05.000Z","dependencies_parsed_at":"2024-12-01T21:42:07.903Z","dependency_job_id":null,"html_url":"https://github.com/Kayleexx/Cryptocurrency-Data-Fetcher-and-Analyzer","commit_stats":null,"previous_names":["kayleexx/cryptocurrency-data-fetcher-and-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FCryptocurrency-Data-Fetcher-and-Analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FCryptocurrency-Data-Fetcher-and-Analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FCryptocurrency-Data-Fetcher-and-Analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FCryptocurrency-Data-Fetcher-and-Analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kayleexx","download_url":"https://codeload.github.com/Kayleexx/Cryptocurrency-Data-Fetcher-and-Analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241758969,"owners_count":20015248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-03T23:58:26.658Z","updated_at":"2025-10-05T10:19:46.946Z","avatar_url":"https://github.com/Kayleexx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptocurrency Data Fetcher and Analyzer\n\nThis Python project fetches live cryptocurrency data from the CoinMarketCap Sandbox API, performs basic analysis, and stores the data in an excel sheet. The project also logs the results and analysis into a separate log file for tracking.\n\n## Features\n\n- Fetches top 50 cryptocurrencies by market cap from the CoinMarketCap API.\n- Analyzes key metrics such as:\n  - Top 5 cryptocurrencies by market cap.\n  - Average price of all fetched cryptocurrencies.\n  - Highest and lowest 24-hour price change.\n- Saves the cryptocurrency data into an excel sheet.\n- Appends analysis results to the excel sheet.\n- Logs all activities, errors, and updates in a log file (`crypto_data.log`).\n- Updates the data every 5 minutes.\n\n## Prerequisites\n\n- Python 3.6+\n- `requests` library for making API requests.\n- `pandas` library for handling data and creating DataFrames.\n\nYou can install the required libraries by running the following:\n\n```bash\npip install requests pandas\n```\n\n## API Key\n\nThis project uses the CoinGecko API.\n\n## How to Run\n\n1. Clone the repository to your local machine:\n\n```bash\ngit clone https://github.com/Kayleexx/Cryptocurrency-Data-Fetcher-and-Analyzer.git\ncd crypto-data-fetcher\n```\n\n\n2. Run the script:\n\n```bash\npython crypto_data_fetcher.py\n```\n\n### Data will be updating every 5 minutes and following is the output:\n![image](https://github.com/user-attachments/assets/acc278f8-8c55-4316-a04c-388ceb76966a)\n\n\n\n## Log File\n\nThe log file (`crypto_data.log`) contains information about the script's execution, including:\n\n- Successful data fetches\n- Errors during API requests\n- Data analysis results\n- Time of last update\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayleexx%2Fcryptocurrency-data-fetcher-and-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayleexx%2Fcryptocurrency-data-fetcher-and-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayleexx%2Fcryptocurrency-data-fetcher-and-analyzer/lists"}