在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:vivet/GoogleApi开源软件地址:https://github.com/vivet/GoogleApi开源编程语言:C# 100.0%开源软件介绍:Google ApiSeamless Google Api integrations. Feel free to contribute, throw questions and report issues. I usually respond fast (24-48 hours). Getting started...The library is extremely easy to consume and use. The example below, simply populates a request, invokes the facade operation, and recieves the response in return. TRequest request = new TRequest();
TResponse response = await {Api}.{Action}.QueryAsync<TRequest, TResponse>(request); A few other noteworthy members. Requestvar uri = request.GetUri(); // Gets the full request uri, including query parameters.
var params = request.GetQUeryStringParameters(); // Gets a list of all the added parameters. Responseresponse.RawJson // The raw json returned by Google.
response.RawQueryString // The querystring sent to Google when invoking the request. Supported OperationsThe following operations are supported. Google Maps
Google Places
Google Search
Google Translate
Google Functions
Running Test SuiteRunning the test suite is simple. The test project stores settings related to your Google subscription (free or paid) in {
"ApiKey": "",
"CryptoKey": "",
"ClientId": "",
"SearchEngineId": "",
} More information about generating a key can be found here: https://console.developers.google.com/ |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论