You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ai-api-test-docs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai-api-test-docs

AI-powered API test and documentation generator using Gemini

0.1.5
pipPyPI
Maintainers
1

ai_api_test_docs

AI-powered API test and documentation generator using Google Gemini.

Installation

pip install ai_api_test_docs

Usage

ai_api_test_docs

Instructions

  • Open your command-line interface (CLI).

  • Navigate to your project's parent directory using cd. For example:

    cd path/to/your/projects/
    
  • Run the tool:

    ai_api_test_docs
    
  • Follow the on-screen prompts:

    • Select the target project folder.
    • Provide your Google Gemini API key when prompted.
    • Choose between generating:
      • API documentation
      • API test scripts
    • Selections are made via numbered or lettered options (e.g., 1, 2, etc.), not by typing full names.
  • Let the tool generate the content for you. Output files will be saved in the selected project folder.

Delete Stored API Key

To remove your stored Gemini API key:

ai_api_test_docs delete_key

Requirements

  • Python 3.9 or higher
  • Google Gemini API key (prompted automatically on first use)

Note: This tool uses AI to generate tests and documentation. AI-generated content may contain mistakes or inaccuracies. Always review and verify the output before using it in production.

Function/Class/Module Description:
Performs the specified operations as described in the implementation.

Author: Ezeana Micheal
Note: This tool and documentation was created by Ezeana Micheal.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts