Solved

connecting to google's API

Posted on 2012-03-22
4
283 Views
Last Modified: 2012-03-23
I want to include in some code I have a connection to the google api. I need to do some sort of authorization first. This code will sit either on a server or a desktop as a .class file and it will try to get some info from google a few times a day. Can anyone say which of these would be appropriate?
OAuth - authorization for web and installed applications
Using OAuth with web applications
Using OAuth with installed applications
Using AuthSub for authorization
Using ClientLogin for authorization
Authentication for Gadgets
0
Comment
Question by:onyourmark
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:DrMadAxe
ID: 37755628
I'm not saying this is right but it sounds like since one is web based and the other on a client then:

 OAuth - authorization for web and installed applications
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 37757044
I believe that if you want information from the Google API you will be contacting a RESTful web service via the GET method.  You may or may not need an API key - that will depend on the particular API you are calling.

On the other end of things, you would need to decide about your client interface.  If your clients can access your server over the WWW you can use some kind of PHP-based authentication, such as the design shown in this article.  You can also use OAuth.  A lot of the choice will be dependent on whether you want a web application or a desktop application.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html
0
 

Author Closing Comment

by:onyourmark
ID: 37759529
Thank you.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 37759690
Thanks for using EE and thanks for the points -- great question! ~Ray
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Make icons act like add/minus for qtys 6 43
Javascript image manipulationcrop-image 7 41
Php variable to be sent back 3 34
Javascript Error 10 24
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question