I am pretty new to google maps. In my commercial project application i need to write a module which would generate and open google maps url with planned route for drivers. I've read a lot that i need google api, nevertheless just few minutes ago i found this official page: google developer's guide
Google claims there: "You don't need a Google API key to use Maps URLs.".
Does it mean when my commercial app will be generating routes urls which would open either google map application (for instance on android) or if there is no google map installed on device - then it will open webbrowser accordingly, does it mean in this case that this is fuly legit and no google api key is required?
Yes, your understanding is correct, as per the official documentation You don't need a Google API key to use Maps URLs.. Maps URLs can be used to build a cross-platform URL to launch the Google Maps application and perform searches, get directions, display map views or panoramic images.
Maps URLs are different from the Google Maps Platform APIs itself which requires an API key to work. API keys are required to keep track of your Google Maps API intended usage.
This is an official documentation from Google, therefore, should be credible.
Related
I am building an application that can use Google, Bing and Azure maps to display my data.
I'm now at the stage that I need to look into how to display these maps when I don't have an internet connection.
Do you know how I can use these map services while off-line?
Is it possible to cache the information perhaps?
If you are targeting the Windows platform, the UWP map control fully supports offline usage.
https://learn.microsoft.com/en-us/windows/uwp/maps-and-location/display-maps
Using the bing maps web control offline is not supported (and storing bing maps tiles offline is against the terms of use).
I created a proof of concept using Google Custom Search Engine. I'm using the following C# library for that: Google.Apis.Customsearch.v1
The concept was working and accepted by the customer. The customer then upgraded to the paid version of Google CSE: Google Site Search.
But when using the API key provided in the panel of the paid version, I get the following error:
{“Google.Apis.Requests.RequestError\r\nInvalid Value [400]\r\nErrors [\r\n\tMessage[Invalid Value] Location[ – ] Reason[invalid] Domain[global]\r\n]\r\n”}
The API key in that panel seems to be a public key, you can actually find it on numerous websites.
We can only get it working again, by using our own project key we created at https://console.developers.google.com. This comes with a 100 request/day limitation, unless you also go for the paid option here (making it a double expense).
Is it at all possible to make this work with this library AND the paid version of Google CSE?
Google Site Search and Google Site Search API are two different things.
To use the API you need a key created on google developers console. The quota associated with the key is the quota for the Google developer account Not the user that has authenticated the application.
Now they upgraded there Google sites search which means they should have some kind of support with that. I suggest they contact google and see if they can get a google developer project upgraded as well they will have to create there own project and will no longer be able to use yours. I have never tried to my knowledge they are separate and you have to pay for them separately but it wont hurt for them to contact Google and ask.
It's unclear to me how I can do an API request to retrieve data for the YouTube API.
I used this code (http://zavitax.wordpress.com/2012/12/17/logging-in-with-google-service-account-in-c-jwt/) to get an access token. The next step is: https://developers.google.com/youtube/v3/guides/authentication?hl=en#OAuth2_Calling_a_Google_API. I don't know how to use www.googleapis.com/youtube/v3/video?access_token=ACCESS_TOKEN in my application to retrieve data. How can I use my access token to request data from the API?
The recommendation is to use the Google APIs Client Library for .NET. As the webpage for the client library states, it's still undergoing active development and isn't as far along as the client libraries for some of the other languages. It still should be usable, though.
There are specific generated classes to use with the YouTube Analytics API and the YouTube Data API v3. You'll need to download those
Our C# sample code is unfortunately scarce, but there is one example of doing a video search. Hopefully that is enough to get you started.
To do anything with the Analytics API, and any write operations with the Data API, you'll need to be authenticated with OAuth 2. There's an explanation of how to do that in the client library docs.
The client library is maintained by a team within Google, but it's not the YouTube API team, so the best way to follow up with the maintainers with any issues you find is to use the public issue tracker.
As Google Data List APIs has been deprecated by Google, so we can use "Google Drive APIs" for Google Drive but what about Google Sites? I am currently using Google.Gdata.client.dll reference to work with Google Sites.
It looks like Google is maintaining the following page to help people who use its APIs keep track of their transition away from gdata:
https://developers.google.com/gdata/docs/directory
As of 06/01/2015, there is no replacement for the Google Sites API.
You carry on using the existing GData API according to the page provided by #froggythefrog:
GData API Directory
I can see that a lot of GData API's have been deprecated and most newer versions aren't based on it any more but it says that Google Sites Data API is unaltered, specifically "GData version is still live. No replacement API."
This might mean that it's days might be numbered but at the moment it is the current API.
I can't see any mention saying that the GData API as a whole is outright deprecated.
I understand that these are client-side apps, but all three must be based on some component of the computer itself.
Which component is this, and how can I utilize it programmatically for a C# app (NOT FOR WEB)?
They're client-side, and they use different sources for the location information. The W3C API in Firefox uses Google Location Services (a JSON API) and I bet Google Gears uses the Google database as well, while Loki uses the Skyhook Wireless service. And different browsers who implement the W3C API can use different location services. Mobile Safari uses Skyhook, or GPS info from the device itself.
You could look at any of these providers for accessing location through your desktop app. Google Location Services appears to be a particularly simple web API, but I think you can also get programmatic access to Skyhook. Since you're writing in C#, you might look into the Windows 7 Location Platform, which provides an easy-to-use OS-level framework that abstracts away the different providers.
(Sorry for any typos and the lack of links; answer posted from my tablet.)
There is a version of geolocation using skyhook wireless sdk.And here is another link for you it is called WPS(wi-fi positioning system)[enter link description here][1]
http://www.j2i.net/BlogEngine/post/2008/12/30/Accessing-the-Skyhook-Wireless-SDK-from-C-prerelease-wrapper.aspx