Advertisement
Guest User

WP-Piwik

a guest
Oct 14th, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. This is what I get using the test script =
  2.  
  3. *** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess ***
  4. Using: cURL
  5. SSL peer verification: enabled
  6. User Agent:
  7. Call: http://www.techcare.net.au/statistics/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN
  8. Result:
  9. HTTP/1.1 200 OK
  10. Date: Mon, 14 Oct 2013 08:06:28 GMT
  11. Server: Apache
  12. X-Powered-By: PHP/5.3.27
  13. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  14. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  15. Pragma: no-cache
  16. Set-Cookie: PIWIK_SESSID=ddfsfasfefdf9c46f6804c58836e08; path=/; HttpOnly
  17. Connection: close
  18. Transfer-Encoding: chunked
  19. Content-Type: text/xml; charset=utf-8
  20.  
  21. <?xml version="1.0" encoding="utf-8" ?>
  22. <result>
  23. <row>
  24. <idsite>5</idsite>
  25. <name>Proline Contractors</name>
  26. <main_url>http://prolinecontractors.com.au</main_url>
  27. <ts_created>2013-10-13 04:56:06</ts_created>
  28. <timezone>UTC+8</timezone>
  29. <currency>AUD</currency>
  30. <excluded_ips />
  31. <excluded_parameters />
  32. <excluded_user_agents />
  33. <sitesearch>1</sitesearch>
  34. <sitesearch_keyword_parameters>q,query,s,search,searchword,k,keyword</sitesearch_keyword_parameters>
  35. <sitesearch_category_parameters />
  36. <group />
  37. <keep_url_fragment>0</keep_url_fragment>
  38. <ecommerce>0</ecommerce>
  39. </row>
  40. </result>
  41. Time: 0.09s
  42.  
  43. *** Test 2/2: SitesManager.getSitesIdFromSiteUrl ***
  44. Using: cURL
  45. SSL peer verification: enabled
  46. User Agent:
  47. Call: http://www.techcare.net.au/statistics/?module=API&method=SitesManager.getSitesIdFromSiteUrl&url=http%3A%2F%2Fwww.prolinecontractors.com.au&format=XML&token_auth= + TOKEN
  48. Result:
  49. HTTP/1.1 200 OK
  50. Date: Mon, 14 Oct 2013 08:06:28 GMT
  51. Server: Apache
  52. X-Powered-By: PHP/5.3.27
  53. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  54. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  55. Pragma: no-cache
  56. Set-Cookie: PIWIK_SESSID=b7f48d6dd3acfb159cfcf88a518aac23; path=/; HttpOnly
  57. Connection: close
  58. Transfer-Encoding: chunked
  59. Content-Type: text/xml; charset=utf-8
  60.  
  61. <?xml version="1.0" encoding="utf-8" ?>
  62. <result>
  63. <row>
  64. <idsite>5</idsite>
  65. </row>
  66. </result>
  67. Time: 0.09s
  68.  
  69. This is what I get when I use the get site configuration =
  70.  
  71. ID Title URL Site ID (Piwik)
  72. - Proline Contractors http://www.prolinecontractors.com.au 1
  73. ID Title URL Site ID (Piwik)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement