Click here to Skip to main content
15,895,283 members
Everything / Google api

Google api

google-api

Great Reads

by Schatak
A very basic description about Google Calender API to use in your project. This tip will cover API with JavaScript.
by Avelino Ferreira
"Don't care about Google Maps/Routing/StreetView programming. This Control gives your WinForms applications the power of Google Maps API v3". - my previous article. Unfortunately, since Dec.2015, Google Maps JavaScript API applications requires authentication and the program stopped working properly
by freedeveloper
Simple Implementation of Google API IDataStore that use MS-SQL server to store your token file
by Darren G441
Use Google sheets to supply list of data object from cell ranges

Latest Articles

by evry1falls
How to implement Google.Apis.Drive.v3 in a WinForms Project using VB 2015 and .NET 4.5
by Darren G441
Use Google sheets to supply list of data object from cell ranges
by Jalle
Consuming WebAPI2 service from Android application
by Mishra Sourabh
In this article, you will learn about ng-Src directive in AngularJS.

All Articles

Sort by Score

Google api 

19 Aug 2015 by Schatak
A very basic description about Google Calender API to use in your project. This tip will cover API with JavaScript.
4 Jul 2016 by Avelino Ferreira
"Don't care about Google Maps/Routing/StreetView programming. This Control gives your WinForms applications the power of Google Maps API v3". - my previous article. Unfortunately, since Dec.2015, Google Maps JavaScript API applications requires authentication and the program stopped working properly
25 Mar 2016 by freedeveloper
Simple Implementation of Google API IDataStore that use MS-SQL server to store your token file
22 May 2014 by QoSi QuReshi
Install-Package Google.GData.Contacts from your nuget pm your issue will be resolved
27 Oct 2015 by Debojyoti Saha
Users of the standard API:2,500 free requests per day, 10 requests per secondcheck it https://developers.google.com/maps/documentation/geocoding/usage-limits[^]
25 Apr 2018 by Gerry Schmitz
You're going "backward" in time ... even Google hasn't figured that one out. (Hint: 5 AM comes before 9 AM) (In my programs, I will "swap" invalid date ranges in the UI on submit; if there's no harm.)
16 Jul 2019 by OriginalGriff
You are obviously aware of Google, so why didn't you use it? A trivial google using part of your question as the search string took me straight here: https://www.aspforums.net/Threads/515185/Calculate-Distance-Duration-between-two-locations-in-Google-Maps-API-using-C-and-VBNet-in-ASPNet/[^] ...
12 Nov 2020 by Pete O'Hanlon
As you have seen, there is a hard limit on the number of locations that can be returned in one go. What you need to do is reissue your call using the page token like...
5 May 2020 by Darren G441
Use Google sheets to supply list of data object from cell ranges
14 Apr 2014 by Mich_90
I try to import Gmail Contacts. I have this block code:public void GetGmailContacts(string p_name, string login, string password){ RequestSettings rs = new RequestSettings(p_name, login, password); rs.AutoPaging = true; ContactsRequest cr = new ContactsRequest(rs); ...
18 Aug 2014 by SteveyJDay
You can't use '' in javascript. This is asp mark up.document.getElementById('').value = marker.position.lat()document.getElementById('').value = marker.position.lng();Change function codeAddress()function...
19 Aug 2014 by SteveyJDay
Here is a working example. The big change was having one button to perform the javascript actions with google and the other button to do the postback(btnSendValuesToCodeBehind). You will most likely want to hide btnSendValuesToCodeBehind don't set visible=false use style="display:none;"ASPX...
12 Sep 2014 by Member 11074058
See this question has some C# code to that http://stackoverflow.com/questions/25801637/google-apps-marketplace-upgradeableapp-api-getting-code500-messagebackend[^]
30 Dec 2014 by Richard MacCutchan
See Peter Leow's suggestions at Android client server application[^]
28 Jan 2015 by Sujith Karivelil
I have solved this problem, for more details Handling events in google calendar using google API v3
9 Apr 2015 by Mehdi Gholam
1) It is only possible for your own applications2) Your app needs to send it's "location" to a global server.3) You query the global server for users locations.4) You show the list of locations on a map.What have you done so far?
20 Apr 2015 by Richard Deeming
Using a DataSet to read XML is not very flexible. Try using System.Xml.Linq[^] to parse the XML instead.DataTable dtCoordinates = new DataTable();dtCoordinates.Columns.AddRange(new[] { new DataColumn("Id", typeof(string)), new DataColumn("Address", typeof(string)), new...
12 Nov 2015 by Krunal Rohit
You need to set the series with the colors & values specifying in it.var options = { legend: 'none', series: { 0: { color: '#e2431e' }, 1: { color: '#e7711b' }, } };And provide this options for chart like...
7 Dec 2016 by El_Codero
seems like there's a real limition by google and just could be soled by workarounds.Can't download/export a large Google Docs document as PDF (what are the limits on Google Drive?) - Web Applications Stack Exchange[^]
20 Mar 2018 by Jochen Arndt
The first one is quite clear: You have passed invalid credentials (user name and/or password) when trying to connect to the database. What to pass can't be answered here because only you (the database administrator) would know about the existing user accounts. To add an user account to a MySQL...
15 Jun 2014 by Kornfeld Eliyahu Peter
AS OG used to say: Google is your friend (wit or without drive)...https://developers.google.com/drive/web/quickstart/quickstart-cs[^]
17 Jun 2014 by Sukhi123
I am running three website and I want to implement Google custom search for these website. So my question is that Do I have to create three Google account for three website OR one account is enough for three website.Thanks
18 Jun 2014 by Star_Rookie
So I am trying to add a calendar event to a user's gmail calendar using a c# program, I have done a ton of research and have added all the references that are suggested to be appropriate for this.The most helpful sources were...
19 Jun 2014 by garav kumar mishra
i want to show custom location on maps.i want to show my different shops on google maps.where to find hint how to do so
23 Jun 2014 by NIKHIL CHAVAN
I am developing phonegap application , in this I have to show the nearby location point (like police station,service centre,petrol pump etc..)on google map using mobile gps parameters(Lat & Lng).I dont know how it can be possible so if solution is there then plz let me know of How to use it in...
10 Jul 2014 by Zeeshan17
Hi,I want to list users files from Google Drive after authenticating him with my google application.But i am not finding right example or tutorial to do it.So,if anyone has worked on it i would request you to let me know.Thanks.
16 Jul 2014 by JBobby
Hi, I have this code for getting Calendar information from Goolge Calendar Api v.3. and I have already created Google console account successfully and generated a client id and secret code.when I run this code, it fails with null values. Exception : System.ObjectDisposedException was...
16 Jul 2014 by JBobby
I have successfully created a project in google developer console, but could not find any option to register my application under the project I have created. I search through google but could not find help file nor any documentation for registering my application in google developer console....
16 Jul 2014 by JBobby
I have created a project in developer console and generated clientid and secret key for an installed (native) application. If I used this credentials, which calendar information I would get? I mean I will get Calendar information of my email (which I used for creating a developer console...
21 Jul 2014 by JBobby
The program failed with two inner exceptions and I had no idea how to catch the inner exception. First I figured out how to catch the inner exceptions using this code : try { // your code for getting Calendar values, events etc. } ...
24 Jul 2014 by Chiranthaka Sampath
I'm creating a Google Analytics Dashboard. In there the Start Date & End Date is inserted using JQuery Date Picker. I am inserting dates in the mm/dd/yyyy format. But I want to submit them in the yyyy-mm-dd. I have used the following code to do that. $("#to_date,...
24 Jul 2014 by Richard Deeming
The format string for the datepicker widget uses yy to represent the four-digit year. By setting the format to yyyy-mm-dd, you've told it to put the four-digit year followed by the four-digit year, which is why you're getting 20142014.Change the date format to yy-mm-dd and you should get the...
24 Jul 2014 by Chiranthaka Sampath
In the following AJAX Function I need to assign the JSON to be response after the "success: function (data) {" statement. But I do not know how to do that. So is there anyone who can help me to solve this matter? function setJsonSer(){ $.ajax({ url:...
24 Jul 2014 by DevSaeed
I have a google spreadsheet.It has three columns, one for names, the second for email, the third to checkbox. I want to see if I can make script to send email to all of them directly from spreadsheet
25 Jul 2014 by Roink
To access Google Apis, you need to know what language your installed application is written in. That's just the beginning, though... Quote:I mean I will get Calendar information of my email (which I used for creating a developer console account) or something else ? Please restate that...
4 Aug 2014 by Mjpanopio0310
Hi,Please help me on this.. i am currently using the google chart API, all is running wellbut then a specs came that the image should be captured,,on this i called the getImageURI()function of the google chart API,, Calling this function after the chart is ready,, this came from the google...
5 Aug 2014 by Sergey Alexandrovich Kryukov
Please see my comments to the question. Perhaps you found less then you could because you did not search for right terms. It's called "Google Drive SDK". You will find plenty of samples, for example: https://developers.google.com/drive/web/quickstart/quickstart-cs[^].You really need to...
11 Aug 2014 by Gee Varghese
I have a requirement of showing locations within 10 KM radius to the user's current location. I got the location of the user and marked it on the map with the following code.MarkerOptions marker = new MarkerOptions().position(new ...
12 Aug 2014 by danigeraleddin
Hi dears members,I need to get the coordinates of an address that is entered into a TextBook control, I need to know if you can get using the api of google but without having to create the map, I just need the data of the coordinates that I need to calculate distances.any idea to...
12 Aug 2014 by M-powersoftware
This is possible with Google Geocoding APIHave a look herehttps://developers.google.com/maps/documentation/geocoding/[^]
15 Aug 2014 by hitman133
Hi everyone.I have a code to GET a list of my account files on Google Drive using api V2 in VB Net. It works fine but I dont know how to show the retrieved result in a listview or datagridview.Here is the code:Private Sub Button1_Click(sender As Object, e As EventArgs) Handles...
3 Sep 2014 by Gaurav K Mishra
Hi all,I am using Google Chart in a web Application. I want to export Google Chart in Excel. Google Chart Provides Image Data as data:image/png followed by coded string (“data:image/png;base64,iVBO…” ). It is easily rendered in HTML and PDF(using JsPDF ) but not working in excel export...
4 Sep 2014 by Member 10610648
Im using google api direction servicecreated route buti just need to check whether particular lat & lng is present or notThanks in advance!!
5 Sep 2014 by Gaurav K Mishra
I have resolved it. For Image URI Data base64, saved in a file and then called the file as usual to export in excel.To Save File:public string CreateImage(string data) { string fname = Server.MapPath("data-image") + "//chart.png"; var base64Data =...
3 Oct 2014 by Eduard Keilholz
Hello all,I've used the Google maps geometry library to store a route on a map. Now I want to load that route, therefore I use the following code :var encoded = $("#ContestRouteInfo").val();map.config.routingPoly = new google.maps.Polyline({ map: map.config.map, strokeColor:...
3 Oct 2014 by Kunal_Patel
i think you have to use this code inside your "google.maps.event.addListener" functionif (place.geometry.viewport) { map.fitBounds(place.geometry.viewport); } else { map.setCenter(place.geometry.location); map.setZoom(14); // you can set perfect...
7 Oct 2014 by Radzhab
I upload doc,xls files but i dont understand how upload html files. This code upload file but dont preview file. Its say- "We apologize Preview not available". Whats mime type i must set ? if (extension == ".htm" || extension == ".html") {File body = new...
7 Oct 2014 by Sergey Alexandrovich Kryukov
Any questions on content-type? They all are supported and maintained by IANA:http://www.iana.org/assignments/media-types/media-types.xhtml[^].See also:http://en.wikipedia.org/wiki/Internet_media_type[^],http://en.wikipedia.org/wiki/IANA[^].—SA
31 Oct 2014 by Dominic Burford
Check out the online help for this https://developers.google.com/drive/[^]
6 Nov 2014 by Member 9882696
I am creating a page containing tab using Twitter bootstrap. And want to add google charts inside the every tab content. But when I run the app the chart takes different size in width and height though I mentioned width and height in every chart using inline css. How can I fix the problem? If...
15 Nov 2014 by sumanth n
Below is my code. I'm trying to get image results from google for my given key words.Getting an issue near responseStream.Length as 'responseStream.Length' threw an exception of type 'System.NotSupportedException'responseStream.Position as 'responseStream.Position' threw an exception of...
15 Nov 2014 by DamithSL
I think you are referring some old resource for fetching images using google image search, time to time google search parameters are changing. I have done below simple test with minimum parameters and able to receive page content.string url =...
25 Nov 2014 by Member 10462232
Hy,Who can help me about the token of Google Api V3 Calendar, please ?I configure all parameters of my Google Project but I've some problem to having a token with this code :public UserToken GetUserTokenByCode(string sCode, Credential credential) { UserToken...
5 Dec 2014 by deepak acharya
How can a single database work for website, mobile apps? In android application .... Just Example:- I have a website and i launch the my new app for this website then i am use database of my running website..??
5 Dec 2014 by DamithSL
database which your use in web site can be exposed to other mobile devices and other applications via web services or REST services. service development is depend on which technology, program language you going to use etc...
17 Dec 2014 by Gaurav_Kaushik
@QoSi QuReshistill not working...!!!
22 Dec 2014 by Member 10533361
How to retrive the google books cover image which i added to my library bookshelfs ? Help me with js fiddle How to display the google books cover image which i had added to the bookshelf of my library suggest me through the jsfiddle.net or with some tutorial based code please i need help of...
22 Dec 2014 by Member 9363513
Hi there, I have created a simple page that shows a line chart using google api. The problem is, sometimes it showing on the browser, sometimes it doesn't. Can you help me figure out is there something wrong with my code.
22 Dec 2014 by George Jonsson
Why not ask Google?This page, Google Books API Family[^], looks like a good place to start.
30 Dec 2014 by David Ferguson
I'm creating a map a walk project that uses Google Map APIs to map a walk either from a PC or mobile device using accounts. I have planned it so far that the user can input the walk route from A to B and the map will display. I want to be able to show when the map displays a written navigation...
11 Jan 2015 by Anubhav Goel
I need to submit sitemap to webmaster tools using asp.net Please revert asap.Thanks Anubhav
12 Jan 2015 by Mahatma Aladdin
I have a simple contact form in aspx. I want to validate the reCaptcha (client-side) before submitting the form. Please help.Sample code:
3 Feb 2015 by David Ferguson
Hi I'm in the middle of building a web application. That maps a walking route for someone. I have used Google APIs and would like to export the route that has been created to GPX for hand held devices. Is there anyway I can do this?
3 Feb 2015 by sagar wasule
Hi, I'm looking to create map programmatically which will fetch the location details dynamically from the user.Say suppose the user enters 5 location the program will fetch the location on map and sketch out the route as per the sequence of location. Once the route is create the map should...
3 Feb 2015 by deepankarbhatnagar
Hi, you must use google API for using Map, please have a look on the links below:https://developers.google.com/maps/web/[^]Google Maps API V3 for ASP.NET[^]
3 Feb 2015 by Gideon van Dyk
You can use Google Maps API, but be aware, you will have an 8 waypoint limit between start and finish:/// /// $(document).ready(function () { getLocation(); showRoute();});function getLocation() { showPosition();}var directionsDisplay;var directionsService...
17 Feb 2015 by C For Code!!!
Hello Friends,I have requirement of showing all nearby trucks by range e.g. 20 miles, 50 miles, 100 miles.Note: It should not be arial distance it should be by ROAD distance.I want to know if there is any way to make a call to api (like google map or any other- as of now i could not...
22 Feb 2015 by Prasad_NC
Hey I am new to Google script..i have a Google sheet with 5 columns, on each column i need a button(with text 1,2,3,4,5) and on each button click i need to set text of button to corresponding cell and hide the clicked button ..is it possible ,if yes how !!
23 Feb 2015 by Member 9893793
How we can Monitoring the amount of Google Maps calls that are made per day, there is 25000 request are allow for 24 hours. How we can calculate, how many request are done in 5 hours. I simple words I want to calculate 5 hours requests.
23 Feb 2015 by stibee
Maybe this is your solution:https://gmaps.codeplex.com/[^]
27 Feb 2015 by Rnshanmugavadivel
Now i am using But it not displaying chart in dashboard.. It ask internet connection.. how to use google visualization api in offline... Please Help Me...
8 Mar 2015 by Atif Agha
I have made a WCF svc service function which returns an Object List. I am trying to get it in Android using KSoap. But i am getting null pointer exception.Here is the codeInterface: IRegisterLocation[OperationContract]List...
9 Mar 2015 by ZurdoDev
I would suggest contacting google to ask them about their API.
22 Mar 2015 by Nilendra Nath
I have to get authentication and fetch the google adword campain reports. I am able to do the same with web application but problem is that now my requirement is to do the same via C# console application as I have to run a utility for same. Can any one help me to work out with console...
25 Mar 2015 by Sir David
Try this:
29 Mar 2015 by Soumya Kanti Sar
i am creating a website powered mailny by javascript... through which users will be able to host a website in google drive.... but now i have run into a problemi have sucessefully used the javascript api and lib of google drive to upload files form the local machine to the drive... but i now...
6 Apr 2015 by amar007ed
I am using google apis to retrive location information by passing lat-long and key and on google developer console i have allowed to accept request from any IP but even then i'm get this error.This IP, site or mobile application is not authorized to use this API key"REQUEST_DENIED"i am...
9 Apr 2015 by Member 11593959
how can i get all the user location who are using the application ? i want to show all the user location real-time on the map . All user location will be shown to everyone who are using the application.
9 Apr 2015 by Torakami
Hii , I am using google chart's stacked bar chart.I did many customization to achive my functionality.But few things i want.Please find my below google chart example
13 Apr 2015 by Sid_Joshi
Code to find current Latitude and LongitudeStep 2 A from Solution 1GPSTracker gpsTracker = new GPSTracker(this); if (gpsTracker.canGetLocation()) { String stringLatitude = String.valueOf(gpsTracker.latitude); textview = (TextView)...
14 Apr 2015 by RaviJJain
Dear Reader,We have no clue from where we can buy the additional usage for GEOCoding API calls,The scenario is currently we are using GEOCoding Google API to get the Street Address of a Lat-Long, which in turn we display in our reports, Currently we have registered with Google...
20 Apr 2015 by Vishal Pand3y
OKsubway_stationtrain_stationtransit_stationestablishmentGolf Course, Captain Shashi Kant Sharma Marg, Noida Golf Course, Sector 37, Noida, Uttar...
1 May 2015 by samerselo
hicould you please give me an example or guidance for using Google APIs Client Library for .NET in my asp .net application to use a youtube channell for brodcasting video streaming
27 May 2015 by Member 11721705
in my spreadsheet URL , i didn't get the "KEY" word in it? I Know how i can modify my spreadsheet URL to make as public feed ,, but i want to know why i didn't get the "key" parameter in my URL i got this URL...
3 Jun 2015 by willington.d
Hi.. Please refer to the below linkGoogle directions-simple[^]
11 Jun 2015 by Prateek Tayal
I am working on a project and in that I've to perform place search for this I'm using Place search API provided by Google. But, the result what I'm getting from Google Map is totally different from the result I'm getting through web api. Like when I'm performing text search operation for "Taxi...
14 Jun 2015 by Rinkal Bhojani
I want to create offline web application which is going to work on intranet where there is no internet connection.In this application user will type in english in one textbox and automatically marathi will be displayed in other textbox.So please suggest any solution which will work same...
24 Jul 2015 by Shekhar Kumar Ghirdharwall
2-Legged OAuth Authentication in .NET (C#)[^]
27 Oct 2015 by Torakami
Hi , My requirment is to update longitude and lattitudes in database based on address added.So for that , i am creating an schedular which will pickup the address of each employee one by one send the address to google map api and get the co-ordinates and update it to database.This task...
2 Nov 2015 by Member 11919288
decimal MyLat = ViewBag.MyLat;decimal MyLong = ViewBag.MyLong;Showing me the following error:"Uncaught SyntaxError: Unexpected...
2 Nov 2015 by E.F. Nijboer
Check out jquery getScript:https://api.jquery.com/jquery.getscript/[^]Or check out this:http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml[^]Good luck!
3 Nov 2015 by Anil Sharma1983
You can done this way. Please check@{ decimal MyLat = 12347; decimal MyLong = 3494858; var script = string.Format("
12 Nov 2015 by VR Karthikeyan
Hi refer this link,https://developers.google.com/chart/interactive/docs/lines#jsonly[^]
13 Nov 2015 by Member 12138450
I am trying to access google sites feed by using google service account. But I get "The remote server returned an error: (403) Forbidden."(Not authorized to access this feed) error.The code written is as follows:var certificate = new X509Certificate2(filePath, password,...
24 Nov 2015 by Adil Liaqat
Sending request on this link, but getting bad request .Please Help..https://accounts.google.com/o/oauth2/token?code=[code]&grant_type=authorization_code&client_id=[clientId]&client_secret=[clientSecret]&redirect_uri=http://localhost:52731/Common/Index[^] string code =...
5 Dec 2015 by Mutaz Ghosheh
Hello I am using this google map to select user location when user wont to register select latitude and longitude and display in map.code select my location from latitude and longitude but not display in map.this is the link for test...
5 Dec 2015 by Richard MacCutchan
You need to set the new position in the call to center:new google.maps.LatLng(31.9497,35.9328); i.e. use the variables crd.latitude and crd.longitude that you captured previously.
6 Dec 2015 by codegeekalpha
I am trying to display latitude and longitude on google maps. with my code i am getting empty box with google map.Here is the div tag where i am displaying data.Here is the button calling the locate function on html page
4 Jan 2016 by Surya Pratap Singh
If you have any solution for My question .please send me solution Suryagkp.94@gmail.com