Skip to content

S4k1dl0/Sitemap-Generator-with-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitemap API

Python Build Status

A simple Flask application for generating and managing sitemaps with API key authentication.

Features

  • Generate API keys for authentication
  • Create sitemaps dynamically
  • Download generated sitemaps
  • Log all actions (e.g., key generation, sitemap creation)

Setup

  1. Clone the repository:
    git clone <repository_url>
    cd project
    
  2. Create a virtual environment and install dependencies:
    python3 -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
    
  3. Run the application:
    python run.py
    
  4. Test the APIs using tools like Postman or curl.

API Endpoints

  1. Generate API Key
    POST /generate_api_key
    
  2. Generate Sitemap
    POST /generate_sitemap
    
  3. Download Sitemap
    GET /download_sitemap?file=<file_path>

About

e.g. py sitemap generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages