I need some help in accessing the Google analytics data API. My problem is:
Code: Select all
;; use of curl because newLISP get-url doesn't work with HTTPS
;; save response token
(set 'token (exec "curl 'https://www.google.com/accounts/ClientLogin?accountType=GOOGLE&service=analytics&Email=user@gmail.com&Passwd=mysecretpasswd' "))
(print token)
Code: Select all
;; use of curl because newLISP get-url doesn't work with HTTPS
;; save response token
(set 'email "user@gmail.com")
(set 'passwd "secret")
(set 'token (exec "curl 'https://www.google.com/accounts/ClientLogin?accountType=GOOGLE&service=analytics&Email='"email"'&Passwd='"passwd"' "))
(print token)