data #3269
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: data | |
on: | |
schedule: | |
- cron: 1 */4 * * * | |
workflow_dispatch: {} | |
push: | |
paths: | |
- .github/workflows/flat.yml | |
- process-pool.js | |
jobs: | |
scheduled: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup deno | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Fetch data | |
uses: githubocto/flat@v3 | |
with: | |
http_url: https://api.coingecko.com/api/v3/coins/evmos?localization=false&tickers=true&market_data=true&community_data=false&developer_data=false | |
downloaded_filename: evmos-market-1h-unprocessed.json | |
- name: Fetch data | |
uses: githubocto/flat@v3 | |
with: | |
http_url: https://api.coingecko.com/api/v3/coins/evmos?localization=false&tickers=false&market_data=false&community_data=false&developer_data=true | |
downloaded_filename: evmos-sentiment-unprocessed.json | |
- name: Fetch data | |
uses: githubocto/flat@v3 | |
with: | |
http_url: https://rest.bd.evmos.org:1317/cosmos/bank/v1beta1/balances/evmos1jv65s3grqf6v6jl3dp4t6c9t9rk99cd8974jnh | |
downloaded_filename: evmos-community-pool.json | |
postprocess: process-pool.js | |
- name: Fetch data | |
uses: githubocto/flat@v3 | |
with: | |
http_url: https://commonwealth.im/api/activeThreads?chain=evmos&threads_per_topic=10 | |
downloaded_filename: cw-active-threads.json |