https://github.com/tristan-mcinnis/deepseek-api-balance-checker
Simple python script to check your current funding with Deepseek API
https://github.com/tristan-mcinnis/deepseek-api-balance-checker
ai balance-checker deepseek deepseek-api deepseek-api-client deepseek-coder deepseek-r1 deepseek-v3 environment-variables llm python
Last synced: about 1 month ago
JSON representation
Simple python script to check your current funding with Deepseek API
- Host: GitHub
- URL: https://github.com/tristan-mcinnis/deepseek-api-balance-checker
- Owner: tristan-mcinnis
- License: mit
- Created: 2025-02-08T03:33:53.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-08T03:37:30.000Z (3 months ago)
- Last Synced: 2025-02-08T04:24:17.235Z (3 months ago)
- Topics: ai, balance-checker, deepseek, deepseek-api, deepseek-api-client, deepseek-coder, deepseek-r1, deepseek-v3, environment-variables, llm, python
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DeepSeek Balance Checker
A simple Python script to check your DeepSeek API account balance.
## Description
This script makes an HTTP GET request to the DeepSeek API to retrieve your account balance information. It uses environment variables to securely store your API key.
## Prerequisites
- Python 3.x
- `requests` library
- `python-dotenv` library
- A DeepSeek API key## Installation
1. Install the required packages:
```bash
pip install requests python-dotenv
```2. Create a `.env` file in the root directory of your project and add your DeepSeek API key:
```
DEEPSEEK_API_KEY=your_api_key_here
```## Usage
Simply run the script:
```bash
python balance_checker.py
```The script will output your current DeepSeek API account balance information in JSON format.
## Environment Variables
- `DEEPSEEK_API_KEY`: Your DeepSeek API authentication token
## Security Note
Never commit your `.env` file to version control. Make sure to add `.env` to your `.gitignore` file.
## License
This project is open source and available under the MIT License.