{"id":17584463,"url":"https://github.com/indrimuska/google-maps-api-typings","last_synced_at":"2025-04-28T16:12:13.608Z","repository":{"id":145079189,"uuid":"140316981","full_name":"indrimuska/google-maps-api-typings","owner":"indrimuska","description":"TypeScript typings for `@google/maps` Node.JS API project.","archived":false,"fork":false,"pushed_at":"2019-12-13T19:37:04.000Z","size":258,"stargazers_count":21,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T16:12:08.589Z","etag":null,"topics":["api","google","maps","nodejs","typescript"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indrimuska.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-09T17:01:19.000Z","updated_at":"2020-11-01T14:26:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"972fb92d-0d2e-4acb-b7f4-4e0ed9b5de54","html_url":"https://github.com/indrimuska/google-maps-api-typings","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrimuska%2Fgoogle-maps-api-typings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrimuska%2Fgoogle-maps-api-typings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrimuska%2Fgoogle-maps-api-typings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indrimuska%2Fgoogle-maps-api-typings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indrimuska","download_url":"https://codeload.github.com/indrimuska/google-maps-api-typings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251342725,"owners_count":21574245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","google","maps","nodejs","typescript"],"created_at":"2024-10-22T02:06:22.663Z","updated_at":"2025-04-28T16:12:13.591Z","avatar_url":"https://github.com/indrimuska.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e # This package is now available in DefinitelyTyped: [@google/maps](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google__maps)\n\n# Google Maps API Typings\n\nThis project contains the TypeScript interface declaration of the [`@google/maps`](https://github.com/googlemaps/google-maps-services-js) Node.JS API project.\n\nIt also provides inline documentation from the official [Google Maps Documentation](https://developers.google.com/maps/documentation/) platform.\n\n![Google Maps API Typings Example](https://raw.githubusercontent.com/indrimuska/google-maps-api-typings/master/google-maps-api-typings.gif)\n\n## Installation\n\nJust install both the official Google Maps API package and the Google Maps API Typings using *npm*:\n\n```\nnpm i @google/maps\nnpm i google-maps-api-typings --save-dev\n```\n\n## Usage\n\n```\nimport 'google-maps-api-typings';\nimport { createClient } from \"@google/maps\";\n\nconst client = createClient({\n    key: 'my-google-maps-api-key',\n    language: 'jp',\n    Promise: Promise\n});\n\nclient\n    .geocode({ address: 'Leaning Tower of Pisa' })\n    .asPromise()\n    .then(response =\u003e {\n        response.json.results.forEach(result =\u003e {\n            console.log(\n                result.geometry.location\n            );\n        })\n    });\n```\n\nThis will output: `{ lat: 43.722952, lng: 10.396597 }`.\n\n## Supported APIs\n\n - [directions](https://developers.google.com/maps/documentation/directions/intro)\n - [distanceMatrix](https://developers.google.com/maps/documentation/distance-matrix/intro)\n - [elevation](https://developers.google.com/maps/documentation/elevation/intro)\n - [elevationAlongPath](https://developers.google.com/maps/documentation/elevation/intro)\n - [findPlace](https://developers.google.com/places/web-service/search#FindPlaceRequests)\n - [geocode](https://developers.google.com/maps/documentation/geocoding/intro#GeocodingRequests)\n - [geolocate](https://developers.google.com/maps/documentation/geolocation/intro)\n - [nearestRoads](https://developers.google.com/maps/documentation/roads/nearest)\n - [place](https://developers.google.com/places/web-service/details)\n - [places](https://developers.google.com/places/web-service/search#TextSearchRequests)\n - [placesAutoComplete](https://developers.google.com/places/web-service/autocomplete)\n - [placesNearby](https://developers.google.com/places/web-service/search#PlaceSearchRequests)\n - [placesPhoto](https://developers.google.com/places/web-service/photos)\n - [placesQueryAutoComplete](https://developers.google.com/places/web-service/query)\n - [placesRadar](https://developers.google.com/places/web-service/search#RadarSearchRequests)\n - [reverseGeocode](https://developers.google.com/maps/documentation/geocoding/intro#ReverseGeocoding)\n - [snappedSpeedLimits](https://developers.google.com/maps/documentation/roads/speed-limits)\n - [snapToRoads](https://developers.google.com/maps/documentation/roads/snap)\n - [speedLimits](https://developers.google.com/maps/documentation/roads/speed-limits)\n - [timezone](https://developers.google.com/maps/documentation/timezone/intro)\n\n### Note\n\nDo not confuse the Google Maps Node.JS API with the [Google Maps Javascript API](https://developers.google.com/maps/documentation/javascript).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findrimuska%2Fgoogle-maps-api-typings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findrimuska%2Fgoogle-maps-api-typings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findrimuska%2Fgoogle-maps-api-typings/lists"}