{"action":"created","issue":{"url":"https://api.github.com/repos/vivet/GoogleApi/issues/87","repository_url":"https://api.github.com/repos/vivet/GoogleApi","labels_url":"https://api.github.com/repos/vivet/GoogleApi/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/vivet/GoogleApi/issues/87/comments","events_url":"https://api.github.com/repos/vivet/GoogleApi/issues/87/events","html_url":"https://github.com/vivet/GoogleApi/issues/87","id":298930035,"number":87,"title":"Example","user":{"login":"fariskarcic","id":19472581,"avatar_url":"https://avatars2.githubusercontent.com/u/19472581?v=4","gravatar_id":"","url":"https://api.github.com/users/fariskarcic","html_url":"https://github.com/fariskarcic","followers_url":"https://api.github.com/users/fariskarcic/followers","following_url":"https://api.github.com/users/fariskarcic/following{/other_user}","gists_url":"https://api.github.com/users/fariskarcic/gists{/gist_id}","starred_url":"https://api.github.com/users/fariskarcic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fariskarcic/subscriptions","organizations_url":"https://api.github.com/users/fariskarcic/orgs","repos_url":"https://api.github.com/users/fariskarcic/repos","events_url":"https://api.github.com/users/fariskarcic/events{/privacy}","received_events_url":"https://api.github.com/users/fariskarcic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-21T11:14:35Z","updated_at":"2018-02-21T12:27:28Z","closed_at":null,"author_association":"NONE","body":"Hey Vivet,\r\n\r\nthanks for you libraries, they are huge help especially for us nublet devs.\r\nAs I said since I'm nublet dev, and I have just recently figured out what generics are for, and I'm not quite used to those, so would you mind updating your example with some actual one. Like e.g. for Distance Matrix.\r\n\r\nI figured out this part\r\n\r\n`DistanceMatrixRequest request = new DistanceMatrixRequest(); `\r\n`DistanceMatrixResponse response = await GoogleMaps.DistanceMatrix.QueryAsync(request);`\r\n\r\nBut how do I pass parameters at\r\n`new DistanceMatrixRequest(); `\r\n\r\nAnd is there some config for api key?\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/vivet/GoogleApi/issues/comments/367310493","html_url":"https://github.com/vivet/GoogleApi/issues/87#issuecomment-367310493","issue_url":"https://api.github.com/repos/vivet/GoogleApi/issues/87","id":367310493,"user":{"login":"fariskarcic","id":19472581,"avatar_url":"https://avatars2.githubusercontent.com/u/19472581?v=4","gravatar_id":"","url":"https://api.github.com/users/fariskarcic","html_url":"https://github.com/fariskarcic","followers_url":"https://api.github.com/users/fariskarcic/followers","following_url":"https://api.github.com/users/fariskarcic/following{/other_user}","gists_url":"https://api.github.com/users/fariskarcic/gists{/gist_id}","starred_url":"https://api.github.com/users/fariskarcic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fariskarcic/subscriptions","organizations_url":"https://api.github.com/users/fariskarcic/orgs","repos_url":"https://api.github.com/users/fariskarcic/repos","events_url":"https://api.github.com/users/fariskarcic/events{/privacy}","received_events_url":"https://api.github.com/users/fariskarcic/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T12:27:28Z","updated_at":"2018-02-21T12:27:28Z","author_association":"NONE","body":"Aight after a bit of exploration of your classes I figured it out.\r\n`DistanceMatrixRequest request = new DistanceMatrixRequest();`\r\n`request.OriginsRaw = startLat + \",\" + startLong;`\r\n`request.DestinationsRaw = endLat + \",\" + endLong;`\r\n` DistanceMatrixResponse response = await GoogleMaps.DistanceMatrix.QueryAsync(request);`\r\n`var distance = response.Rows.ElementAt(0).Elements.ElementAt(0).Distance.Text;`\r\n\r\nBut now I wonder where is api key located and how does it work without it?\r\nDo I just add?\r\n`request.Key = \"xxxxx\"`"}}
{"actor":{"display_login":"fariskarcic"}}