Reference documentation and code samples for the Developer Knowledge V1 API module Google::Developers::DeveloperKnowledge::V1::DeveloperKnowledge.
The Developer Knowledge API provides programmatic access to Google's public developer documentation, enabling you to integrate this knowledge base into your own applications and workflows.
The API is designed to be the canonical source for machine-readable access to Google's developer documentation.
A typical use case is to first use
DeveloperKnowledge.SearchDocumentChunks
to find relevant document chunks based on a query, and then use
DeveloperKnowledge.GetDocument
or
DeveloperKnowledge.BatchGetDocuments
with document resource names (such as
DocumentChunk.parent
or documents/{uri_without_scheme}) to fetch the full content of the top
results.
All document content is provided in Markdown format.
To load this service and instantiate a REST client:
require "google/developers/developer_knowledge/v1/developer_knowledge/rest"
client = ::Google::Developers::DeveloperKnowledge::V1::DeveloperKnowledge::Rest::Client.new