All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.placesapiclient.client.service.ServiceName Maven / Gradle / Ivy

The newest version!
package com.googlecode.placesapiclient.client.service;

/**
 */
public enum ServiceName {

    // Search services
    PLACE_NEARBY_SEARCH_REQUEST("https://maps.googleapis.com/maps/api/place/nearbysearch/json?"),
    PLACE_TEXT_SEARCH_REQUEST("https://maps.googleapis.com/maps/api/place/textsearch/json?"),
    PLACE_RADAR_SEARCH_REQUEST("https://maps.googleapis.com/maps/api/place/radarsearch/json?"),

    // Details services
    PLACE_DETAILS_REQUEST("https://maps.googleapis.com/maps/api/place/details/json?"),

    // Autocomplete services
    PLACE_AUTOCOMPLETE_REQUEST("https://maps.googleapis.com/maps/api/place/autocomplete/json?"),
    PLACE_QUERY_AUTOCOMPLETE_REQUEST("https://maps.googleapis.com/maps/api/place/queryautocomplete/json?"),

    /**
     * Place Actions
     */
    // Managing Places
    PLACE_ADD_REQUEST("https://maps.googleapis.com/maps/api/place/add/json?"),
    PLACE_DELETE_REQUEST("https://maps.googleapis.com/maps/api/place/delete/json?"),
    // Managing Events
    EVENT_ADD_REQUEST("https://maps.googleapis.com/maps/api/place/event/add/json?"),
    EVENT_DELETE_REQUEST("https://maps.googleapis.com/maps/api/place/event/delete/json?"),
    EVENT_DETAILS_REQUEST("https://maps.googleapis.com/maps/api/place/event/details/json?"),
    // Managing Bumps
    BUMP_PLACE_REUEST("https://maps.googleapis.com/maps/api/place/bump/json?");


    private final String serviceUrl;

    ServiceName(String url) {
        this.serviceUrl = url;
    }

    public String getServiceUrl() {
        return serviceUrl;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy