{"action":"created","issue":{"url":"https://api.github.com/repos/sendgrid/csharp-http-client/issues/15","repository_url":"https://api.github.com/repos/sendgrid/csharp-http-client","labels_url":"https://api.github.com/repos/sendgrid/csharp-http-client/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/sendgrid/csharp-http-client/issues/15/comments","events_url":"https://api.github.com/repos/sendgrid/csharp-http-client/issues/15/events","html_url":"https://github.com/sendgrid/csharp-http-client/issues/15","id":167239639,"number":15,"title":"What is the benefit of this client?","user":{"login":"ohadschn","id":8555641,"avatar_url":"https://avatars.githubusercontent.com/u/8555641?v=3","gravatar_id":"","url":"https://api.github.com/users/ohadschn","html_url":"https://github.com/ohadschn","followers_url":"https://api.github.com/users/ohadschn/followers","following_url":"https://api.github.com/users/ohadschn/following{/other_user}","gists_url":"https://api.github.com/users/ohadschn/gists{/gist_id}","starred_url":"https://api.github.com/users/ohadschn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohadschn/subscriptions","organizations_url":"https://api.github.com/users/ohadschn/orgs","repos_url":"https://api.github.com/users/ohadschn/repos","events_url":"https://api.github.com/users/ohadschn/events{/privacy}","received_events_url":"https://api.github.com/users/ohadschn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sendgrid/csharp-http-client/labels/status:%20help%20wanted","name":"status: help wanted","color":"159818"},{"url":"https://api.github.com/repos/sendgrid/csharp-http-client/labels/type:%20question","name":"type: question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-24T15:50:19Z","updated_at":"2016-07-25T18:06:00Z","closed_at":null,"body":"I apologize for the blunt question, but why not just use `HttpClient`? \r\nWhat's the difference between ```sgClient.your.api.get()``` and ```httpClient.GetAsync(\"Your/API\")```? \r\n\r\nThe former might be confusing to C# developers, as the API calls are not truly type safe and are pretty much equivalent to the string..."},"comment":{"url":"https://api.github.com/repos/sendgrid/csharp-http-client/issues/comments/235033965","html_url":"https://github.com/sendgrid/csharp-http-client/issues/15#issuecomment-235033965","issue_url":"https://api.github.com/repos/sendgrid/csharp-http-client/issues/15","id":235033965,"user":{"login":"thinkingserious","id":146695,"avatar_url":"https://avatars.githubusercontent.com/u/146695?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkingserious","html_url":"https://github.com/thinkingserious","followers_url":"https://api.github.com/users/thinkingserious/followers","following_url":"https://api.github.com/users/thinkingserious/following{/other_user}","gists_url":"https://api.github.com/users/thinkingserious/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkingserious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkingserious/subscriptions","organizations_url":"https://api.github.com/users/thinkingserious/orgs","repos_url":"https://api.github.com/users/thinkingserious/repos","events_url":"https://api.github.com/users/thinkingserious/events{/privacy}","received_events_url":"https://api.github.com/users/thinkingserious/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T18:06:00Z","updated_at":"2016-07-25T18:06:00Z","body":"Part of the question/answer is here: https://github.com/sendgrid/sendgrid-csharp/issues/261#issuecomment-235031138\r\n\r\nThese are valid points as well as in the other thread. I'll leave this ticket open so that others may weigh in.\r\n\r\nSome of the reasons we decided to create our own client in a separate repo:\r\n\r\n1. The SendGrid API only needs a subset of the functionality of HTTPClient, this was an attempt to simplify and only expose those needed functions.\r\n2. All of our libraries have the same simple input/output structure, so there was some thoughts of consistency and maintainability across the 7 libraries. (but the needs of particular communities outweigh this and we hope that those who are experts in each language will weigh in, as you have, to help guide how we can make this library better for you)\r\n3. Having it in a separate repo allows people to have a simple interface to REST APIs without the coupling to the SendGrid library\r\n4. We want people to use whatever HTTPClient they want, so this was a first step in decoupling the client from library\r\n"}}
{"actor":{"display_login":"thinkingserious"}}