• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

google analytics java api - how to begin and master

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Giving up on the useless google API. I am doing Spring !
See you guys !
 
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic