{"id":15011638,"url":"https://github.com/maximn/google-maps","last_synced_at":"2025-05-14T14:07:55.278Z","repository":{"id":3201274,"uuid":"4234799","full_name":"maximn/google-maps","owner":"maximn","description":"Google Maps Web Services API wrapper for .NET","archived":false,"fork":false,"pushed_at":"2024-11-04T08:39:52.000Z","size":2114,"stargazers_count":193,"open_issues_count":5,"forks_count":141,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-13T21:33:49.003Z","etag":null,"topics":["c-sharp","directions","geocoder","geocoding","google-map","google-maps","google-maps-api","mapping","maps","nuget","nuget-package","static-maps"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maximn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-05-05T15:53:06.000Z","updated_at":"2025-02-26T12:55:04.000Z","dependencies_parsed_at":"2024-09-20T06:02:49.325Z","dependency_job_id":"6f74032a-55fc-4acd-b4a3-6556c45ec4dd","html_url":"https://github.com/maximn/google-maps","commit_stats":{"total_commits":312,"total_committers":50,"mean_commits":6.24,"dds":0.3782051282051282,"last_synced_commit":"bb3bced43eaa043dbc097c25594ae676c0fcf3ef"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximn%2Fgoogle-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximn%2Fgoogle-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximn%2Fgoogle-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximn%2Fgoogle-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximn","download_url":"https://codeload.github.com/maximn/google-maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159290,"owners_count":22024558,"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":["c-sharp","directions","geocoder","geocoding","google-map","google-maps","google-maps-api","mapping","maps","nuget","nuget-package","static-maps"],"created_at":"2024-09-24T19:41:22.620Z","updated_at":"2025-05-14T14:07:55.249Z","avatar_url":"https://github.com/maximn.png","language":"C#","readme":"[![Build Status](https://github.com/maximn/google-maps/actions/workflows/dotnet.yml/badge.svg)](https://github.com/maximn/google-maps/actions/workflows/dotnet.yml)\n[![NuGet Status](https://img.shields.io/nuget/v/GoogleMapsApi.svg)](https://www.nuget.org/packages/GoogleMapsApi/)\n\ngoogle-maps\n===========\n\nGoogle Maps Web Services API wrapper for .NET\n\nFor Quickstart and more info read the wiki pages (https://github.com/maximn/google-maps/wiki)\n\nThe web page - http://maximn.github.com/google-maps\n\nNuGet page - https://www.nuget.org/packages/GoogleMapsApi/\n\n\n**Check out my blog at http://maxondev.com**\n\n# Quickstart\n\nThis library wraps Google maps API.\n\nYou can easily query Google maps for Geocoding, Directions, Elevation, and Places.\n\nNEW! Now you can easily show the results on a Static Google Map!\n\nThis Library is well documented and easy to use.\n\nCode sample -\n``` C#\nusing GoogleMapsApi;\nusing GoogleMapsApi.Entities.Common;\nusing GoogleMapsApi.Entities.Directions.Request;\nusing GoogleMapsApi.Entities.Directions.Response;\nusing GoogleMapsApi.Entities.Geocoding.Request;\nusing GoogleMapsApi.Entities.Geocoding.Response;\nusing GoogleMapsApi.StaticMaps;\nusing GoogleMapsApi.StaticMaps.Entities;\n\n//Static class use (Directions) (Can be made from static/instance class)\nDirectionsRequest directionsRequest = new DirectionsRequest()\n{\n    Origin = \"NYC, 5th and 39\",\n    Destination = \"Philladephia, Chesnut and Wallnut\",\n};\n\nDirectionsResponse directions = GoogleMaps.Directions.Query(directionsRequest);\nConsole.WriteLine(directions);\n\n//Instance class use (Geocode)  (Can be made from static/instance class)\nGeocodingRequest geocodeRequest = new GeocodingRequest()\n{\n    Address = \"new york city\",\n};\nvar geocodingEngine = GoogleMaps.Geocode;\nGeocodingResponse geocode = geocodingEngine.Query(geocodeRequest);\nConsole.WriteLine(geocode);\n\n// Static maps API - get static map of with the path of the directions request\nStaticMapsEngine staticMapGenerator = new StaticMapsEngine();\n\n//Path from previos directions request\nIEnumerable\u003cStep\u003e steps = directions.Routes.First().Legs.First().Steps;\n// All start locations\nIList\u003cILocationString\u003e path = steps.Select(step =\u003e step.StartLocation).ToList\u003cILocationString\u003e();\n// also the end location of the last step\npath.Add(steps.Last().EndLocation);\n\nstring url = staticMapGenerator.GenerateStaticMapURL(new StaticMapRequest(new Location(40.38742, -74.55366), 9, new ImageSize(800, 400))\n{\n    Pathes = new List\u003cGoogleMapsApi.StaticMaps.Entities.Path\u003e(){ new GoogleMapsApi.StaticMaps.Entities.Path()\n    {\n            Style = new PathStyle()\n            {\n                    Color = \"red\"\n            },\n            Locations = path\n    }}\n});\nConsole.WriteLine(\"Map with path: \" + url);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximn%2Fgoogle-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximn%2Fgoogle-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximn%2Fgoogle-maps/lists"}