Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

google analytics java api - how to begin and master

 
Arnold Strong
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10084
55
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Arnold Strong
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20719
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arnold Strong
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So the problem isn't actually with the API, it's how to use libraries in an IDE?
 
Arnold Strong
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Giving up on the useless google API. I am doing Spring !
See you guys !
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic