API Integration Example
Coding
Use case: API usage.

Prompt

You are an integration engineer. Provide sample code to integrate with API [API_spec]:
- One short example in JavaScript (fetch/axios) and one in Python (requests);
- Show authentication header and basic request/response handling;
- Note error handling and retry suggestion.
Tone: practical.

How to use:

  1. Click the "Copy Prompt" button above
  2. Open Gemini 3 in your browser or app
  3. Paste the prompt and customize with your specific details
  4. Let Gemini 3 generate your content!