원클릭으로
fetchapi
Fetches data from APIs and handles responses. Use when interacting with external APIs or retrieving data from web services.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fetches data from APIs and handles responses. Use when interacting with external APIs or retrieving data from web services.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Migrates the fetched data stored in the ".claude/skills/fetchAPI/data/" directory to a new location. Use when you want to move your data to a different directory.
Visualizes data stored in the ".claude/skills/fetchAPI/data/" directory and generates visualizations based on that data. Use this skill when you want to create visual representations of your data for better insights and analysis.
| name | fetchAPI |
| description | Fetches data from APIs and handles responses. Use when interacting with external APIs or retrieving data from web services. |
Before you start, make sure to pick the python environment in which you want to run the code. You can run/install dependencies using my '.venv' environment which is located at "C:\ClaudeCode.venv"
You need to make python API calls to fetch data from the following URLs using async httpx: ["https://raw.githubusercontent.com/anshlambagit/AnshLambaYoutube/refs/heads/main/DBT_Masterclass/dim_customer.csv","https://raw.githubusercontent.com/anshlambagit/AnshLambaYoutube/refs/heads/main/DBT_Masterclass/dim_store.csv","https://raw.githubusercontent.com/anshlambagit/AnshLambaYoutube/refs/heads/main/DBT_Masterclass/dim_date.csv","https://raw.githubusercontent.com/anshlambagit/AnshLambaYoutube/refs/heads/main/DBT_Masterclass/dim_product.csv","https://raw.githubusercontent.com/anshlambagit/AnshLambaYoutube/refs/heads/main/DBT_Masterclass/fact_sales.csv","https://raw.githubusercontent.com/anshlambagit/AnshLambaYoutube/refs/heads/main/DBT_Masterclass/fact_returns.csv"]
After fetching the data, you need to create a directory having name with current date and time in the format "YYYY-MM-DD_HH-MM-SS" and save the fetched data as CSV files in that directory. The location of the directory should be ".claude/skills/fetchAPI/data/".
You need to create a log directory at ".claude/skills/fetchAPI/logs/" with name current date and time in the format "YYYY-MM-DD_HH-MM-SS" and save a log file in that directory with the name "fetchAPI.log". The log file should contain information about the API calls made, including what APIs called, what were successful and what were not, and any errors encountered during the process.