A simple Flask application for generating and managing sitemaps with API key authentication.
- Generate API keys for authentication
- Create sitemaps dynamically
- Download generated sitemaps
- Log all actions (e.g., key generation, sitemap creation)
- Clone the repository:
git clone <repository_url> cd project
- Create a virtual environment and install dependencies:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
- Run the application:
python run.py
- Test the APIs using tools like Postman or curl.
- Generate API Key
POST /generate_api_key
- Generate Sitemap
POST /generate_sitemap
- Download Sitemap
GET /download_sitemap?file=<file_path>