Skip to content
This repository has been archived by the owner. It is now read-only.
Easy access to the open parts of the car2go OpenAPI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

c2g Lib

The c2g lib provides easy access to the open parts of the car2go OpenAPI. It allows you to access Locations, Vehicles, Home Areas, Parking Spots and Gas Stations without digging too deep in the API (and its inconsistencies).


First you need to get a consumer key for the OpenAPI. Instructions can be found at

C2GAPIClient client = new C2GAPIClient("car2go");

List<Location> locations = client.getLocations();
List<Area> areas = client.getOperatingAreas("Hamburg");
List<Vehicle> vehicles = client.getVehicles("Austin");
List<GasStation> gasstations = client.getGasStations("Hamburg");
List<ParkingSpot> parkingspots = client.getParkingSpots("Hamburg");


This product uses the car2go API but is not endorsed or certified by car2go. Please have a look at before using this library.

You can’t perform that action at this time.