Use this tag for questions related to Google's APIs.

learn more… | top users | synonyms

-1
votes
0answers
18 views

html form not working in google chrome [closed]

I have a login page which accepts username and password and when you press enter then it is taking to home page. This is working perfectly in mozilla firefox and opera but its working at all in ...
1
vote
0answers
27 views

Adding events to multiple markers in a google map

I was looking over questions related to setting up markers on a google map, and though the following works perfectly fine for me, it was different from the other (and accepted) answers. I just wanted ...
2
votes
1answer
38 views

Is there a more efficient way to write this google apps script code?

I have an Apps Script that is supposed to do run through the spreadsheet and if a company belongs to certain country (there's a country column) set the value of the region row to something e.g. ...
1
vote
2answers
66 views

A program that mimics T9 cell messaging

Today I solved a question from Google Code Jam. A program that mimics a cell phone keypad messaging. Here is the program, with goto statement, I know it is unstructured style to use goto, but I still ...
1
vote
0answers
35 views

Checking Site Uptime with Google Docs

I modified Amit Agarwal's Script which checks the uptime of one website so that it now checks several sites. The script runs every 5 minutes, however, I kept receiving mails that a site was down and ...
0
votes
1answer
379 views

Getting vars from php before running JavaScript [closed]

in the following code I have 2 javascript vars that I need to pass to a google charts javascript function . Now of these two vars , one $ValueA is set to be data retrieved from a SQL query , the ...
1
vote
2answers
527 views

Markers on Google Maps

I am newbie at JavaScript, I am using PHP to get data from a MySQL database, and use the data to drop multiple markers into google map. Please give me some suggestion to my code, really appreciate for ...
3
votes
0answers
288 views

Please review my use case solution

I use python 2.7, google app engine, jinja2, wtforms, webapp2 and babel for my web app. The use case is "password reset" and the framework I use is webapp2 and I generate a tokenized one-time link by ...
3
votes
3answers
180 views

please suggest optimization

i took the python class at google code today. And this is what i made for the problem where they ask you to build a word counter. Please take a look and suggest any improvements that can be done. ...
2
votes
1answer
197 views

Please review 147 lines of javascript

Hello if I may ask you to review my javascript project. The full context and all details are available from my app or my repository: var geocoder; var map; var infowindow = new ...
3
votes
1answer
80 views

Please help me review some regexes for google app engine

My app is growing from small to medium and I'm adding functions that should get reviewed. My routing is routes = [ (r'/', CyberFazeHandler), (r'/vi/(eyes|mouth|nose)', ...
1
vote
1answer
205 views

Can you review my i18n/Jinja2/python code?

I'm learning to Jinja2 and what's important in this case isn't speed but i18n translations and functionality. With python 2.7 Jinja2 and not django seems to preferred way to go so I'm rewriting much ...
2
votes
1answer
203 views

HTML editor for google app engine

Please review this simple code. When I review it I decide to rewrite so that it doesn't write to a template but instead directly to output since thw whole html is fetched from the data layer. I used ...
1
vote
0answers
145 views

Help with performance issue

I have a performance issue that I suspect comes from using geomodel with proxomity fetch. I'm getting red numbers in the logs: 2011-09-28 19:39:58.583 /li?lat=22.49&lon=79.02 200 13919ms ...
1
vote
1answer
144 views

Is the next thing to do change O(n) to more efficient?

I had an efficiency problem like I thought and I didn't have the best solution: http://stackoverflow.com/questions/7552604/should-i-merge-images-in-memory-py-or-in-view-html My solution was O(n) and ...
2
votes
1answer
158 views

How to further modularize this file to make it more convenient and more readable?

Background is this question and to create something like cragislist or olx.com i.e. classifieds advertisement webapp / site and I've basically solved the problem and had a mess of unstructured code ...
0
votes
1answer
137 views

Iteration and memcache for selected categorized random elements?

The following code is a quick implementation since I only needed 3 random images sorted by category (a random eyes image, a random nose image and a random mouth image and then combine them) ...
0
votes
0answers
1k views

Gmail Contacts API Connection Review

I created this class that connects to gMail contacts, and enables you to add/edit/delete the contact. Curious to see what others think of my code... if you see any areas for improvement, that would ...
4
votes
3answers
302 views

Can you recommend what to prioritize when rewriting this class?

I feel a need to rewrite a rather large python class that "does its job" but it looks somewhat terrible since it was pasted together while learning python and the platform google app engine. It works ...
5
votes
3answers
1k views

PHP Google Weather API wrapper

I'm an amateur programmer (self-taught). Anyway, this class provides a few methods to access Google's unofficial weather API. I'm having trouble on how to go about handling parsing errors in ...
3
votes
3answers
367 views

[GCJ] How scala-ish is my solution?

I'm trying to solve an old GCJ. It's a very simple puzzle, but I'm trying to sharpen my scala-fu. Basically, you're getting a list of triple number srcLanguage dstLanguage, where number is an integer ...
2
votes
1answer
489 views

Querying the same fields for many different values on AppEngine

I'm creating a gradebook. Many students earn a grade in many standards each. I'm hoping to get help analyzing the code below for efficient use of asynchronous result fetching. ofy is an Objectify ...
5
votes
2answers
3k views

easier way to place google map in Colorbox?

Greetings! I need to place a google map in Colorbox overlay and wonder if there's a better way to do this. Just started out with google's tutorial so there's nothing fancy going on. Right now I'm ...
8
votes
3answers
559 views

How good/bad is this code?

I am sorry for the Indent style and lack of comment. But apart from that,how good/bad the code snippet is? What it does is: Reads from a RSS feed using google feed API shows the list in an ...
1
vote
1answer
781 views

Hibernate proxy converter for GWT

Here's a class that converts Hibernate proxies to normal classes. This is useful with GWT for example, when sending objects loaded from database to the GWT client. Please review it. package ...
4
votes
1answer
624 views

PHP SDK for Google's Geocoding API

Not really much else to say besides what's on the tin. The project was only recently launched and has yet to be promoted. Wanted some colleague eyeballs on this before pulling that trigger. ...