以下のコードは、演習 10 終了時の GooglePlacesService.egl ファイルのテキストです。
package interfaces;
import services.PlaceSearchResponse;
// interface
interface GooglePlacesService
function getSearchResults( typeName string? in ) returns(PlaceSearchResponse)
{@GetRest{uriTemplate = "https://maps.googleapis.com/maps/api/place/search/xml?location=37.47,-122.26&radius=50000&sensor=false&key=AIzaSyD_K9zveT6jhxgCApduywaOTuD5FiQFgpI&language=en&keyword={typeName}", responseFormat = XML}}; end