def get_endpoint_info():
    name = input("Enter the endpoint name: ")
    modrinth_url = input("Enter the Modrinth URL: ")
    typedoc_url = input("Enter the Typedoc URL (or leave blank): ")
    requires_auth = input("Does it require authentication? (y/n): ").strip().lower() == "y"
    
    # Determine implementation status
    status = "ni" if not typedoc_url else input("Implementation status (iwt, i, ni): ").strip()
    
    auth_marker = " 🔒" if requires_auth else ""
    typedoc_link = f" [[T]]({typedoc_url})" if typedoc_url else ""
    
    status_map = {
        "iwt": "✅",  # Implemented with tests
        "i": "☑️",     # Implemented
        "ni": "❌"     # Not implemented
    }
    status_icon = status_map.get(status, "❌")
    
    table_row = f"| {name}{auth_marker} [[M]]({modrinth_url}){typedoc_link} | {status_icon} |"
    
    print("\nGenerated Table Row:\n")
    print(table_row)

if __name__ == "__main__":
    get_endpoint_info()