{
  "authentication": "None required",
  "base_url": "http://dev.countrypuff.org",
  "data_source": "CIA World Factbook via factbook.json GitHub repository",
  "description": "Access comprehensive CIA World Factbook data for countries worldwide",
  "endpoints": {
    "/api/countries": {
      "description": "List all available countries with their codes",
      "method": "GET",
      "response": "Array of country objects with iso_code, gec_code, and name"
    },
    "/api/countries/search": {
      "description": "Search for countries by name",
      "example": "/api/countries/search?q=united",
      "method": "GET",
      "parameters": {
        "q": "Search query (required)"
      }
    },
    "/api/countries/{identifier}": {
      "description": "Get comprehensive country data",
      "method": "GET",
      "parameters": {
        "identifier": "ISO code (US), GEC code (us), or country name (United States)"
      },
      "response": "Complete country data including demographics, geography, economy, government"
    },
    "/api/countries/{identifier}/search": {
      "description": "Search for specific information within a country's data",
      "method": "GET",
      "parameters": {
        "q": "Search query within country data"
      }
    },
    "/api/countries/{identifier}/summary": {
      "description": "Get key country facts summary",
      "method": "GET",
      "response": "Condensed country information"
    }
  },
  "rate_limiting": "None currently implemented",
  "title": "CountryPuff API Documentation"
}
