aspose file tools*
The moose likes Other Open Source Projects and the fly likes google analytics java api - how to begin and master Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "google analytics java api - how to begin and master" Watch "google analytics java api - how to begin and master" New topic
Author

google analytics java api - how to begin and master

Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
I am reading google analytics api's now and I was wondering if there is a book dedicated to using google analytics java api. Please let me know.
I skimmed over the official api docs, but would prefer to read a text book instead. I avoid using API documentation unless unavoidable.

Thanks.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8016
    
  22

john carmack wrote:I am reading google analytics api's now and I was wondering if there is a book dedicated to using google analytics java api...

Google is your friend (took me all of 10 seconds).

I skimmed over the official api docs, but would prefer to read a text book instead. I avoid using API documentation for unless unavoidable.

Then I would suggest that you break that habit. 'Official' documentation is, by its nature, official, and is also likely to be (a) more precise, and (b) more up-to-date, than a book.

That said, some 'official' API docs are pretty lousy . I'd still check them first though.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
Winston Gutkowski wrote:
john carmack wrote:I am reading google analytics api's now and I was wondering if there is a book dedicated to using google analytics java api...

Google is your friend (took me all of 10 seconds).


Thanks for the list.
I had looked at most of the popular books in that list before. None of them give programming examples which involve google analytics and java.

Winston Gutkowski wrote:
I skimmed over the official api docs, but would prefer to read a text book instead. I avoid using API documentation for unless unavoidable.

Then I would suggest that you break that habit. 'Official' documentation is, by its nature, official, and is also likely to be (a) more precise, and (b) more up-to-date, than a book.

That said, some 'official' API docs are pretty lousy . I'd still check them first though.


The examples in the official documentation look old to me. For eg, the eclipse they use is so old that the menus are quite different from the version which I use.
I wish someone would write a book for these things.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18675
    
    8

john carmack wrote:The examples in the official documentation look old to me. For eg, the eclipse they use is so old that the menus are quite different from the version which I use.
I wish someone would write a book for these things.


How would putting the data into a book prevent it from becoming obsolete, when putting it online doesn't prevent that?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
john carmack wrote:For eg, the eclipse they use is so old that the menus are quite different from the version which I use.

That's an odd comment. Thankfully, the Google Analytics API doesn't alter nearly as rapidly as your average IDE.


Ping & DNS - my free Android networking tools app
Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
An example of why I am getting confused(there will be many more in the future, i am sure):

If the user grants permission to your application, your application will be sent an access token or an authorization code (which is used to obtain an access token). If the user does not grant permission to your application, the Google Authorization Server returns an error.


Maye its an error. They make everything look way confusing and more complicated than it is.
Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
Okay. Can any of you make a simple, working "hello world" for google analytics using its java api:
Google analytics tutorial
Should be easy for you guys.
Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
I am going to try doing the project. I need your help. Please look at this:

Eclipse - "Source attachment"
google wrote:
Eclipse users will want to set the "Source attachment" for each class jar to its corresponding "-sources" jar.


What does this sentence mean. How do you do what they tell you to do in that sentence. I saw a tutorial on the net and tried it.
But, later i got errors in the project.I have avoided using until now because of all the complexities and abbreviations involved in using an IDE.
So, please forgive my simple questions.

PS:
I was expecting much better qualities of tutorials from google.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
You shouldn't expect much for free. I advise to leave out the IDE altogether if it's giving you problems, and use the command line to compile and run the code.
Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
Ulf Dittmer wrote:You shouldn't expect much for free. I advise to leave out the IDE altogether if it's giving you problems, and use the command line to compile and run the code.

Free software usually = crap. But, I cannot continue to use the cute notepad and command line for ever, right ? One day I will be employed by a company. My guess is that people in the IT industry generally use an IDE. I wonder if any developer even uses command line in his job.

BTW, can anyone help me with the second post above this post ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
So the problem isn't actually with the API, it's how to use libraries in an IDE?
Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
Ulf Dittmer wrote:So the problem isn't actually with the API, it's how to use libraries in an IDE?


Both.

PS: Try reading those docs if you wish. Looks like google hires chimps to write these docs.
Arnold Strong
Ranch Hand

Joined: Jun 24, 2012
Posts: 40
Giving up on the useless google API. I am doing Spring !
See you guys !
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: google analytics java api - how to begin and master