Registry / http-client / google-api-client

google-api-client

JSON →
library2.9.0javamavenunverified

The Google APIs Client Library for Java is a Java client library for accessing any HTTP-based API on the web.

<dependency> <groupId>com.google.api-client</groupId> <artifactId>google-api-client</artifactId> <version>2.9.0</version> </dependency>
INSTALL
IMPORT
SIG · GOOGLE-API-CLIENT
G
google-api-client
http-clientjavav2.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GoogleNetHttpTransport
com.google.api.client.googleapis.javanet.GoogleNetHttpTransport

Initializes the Google HTTP transport and JSON factory for API calls.

import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.json.JsonFactory; import com.google.api.client.json.gson.GsonFactory; public class Quickstart { public static void main(String[] args) throws Exception { JsonFactory jsonFactory = GsonFactory.getDefaultInstance(); var httpTransport = GoogleNetHttpTransport.newTrustedTransport(); System.out.println("Transport created: " + httpTransport.getClass().getName()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.9.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources
google-api-client — mvn dependency:get google-api-client · libregistry