Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is what I get using the test script =
- *** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess ***
- Using: cURL
- SSL peer verification: enabled
- User Agent:
- Call: http://www.techcare.net.au/statistics/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN
- Result:
- HTTP/1.1 200 OK
- Date: Mon, 14 Oct 2013 08:06:28 GMT
- Server: Apache
- X-Powered-By: PHP/5.3.27
- Expires: Thu, 19 Nov 1981 08:52:00 GMT
- Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
- Pragma: no-cache
- Set-Cookie: PIWIK_SESSID=ddfsfasfefdf9c46f6804c58836e08; path=/; HttpOnly
- Connection: close
- Transfer-Encoding: chunked
- Content-Type: text/xml; charset=utf-8
- <?xml version="1.0" encoding="utf-8" ?>
- <result>
- <row>
- <idsite>5</idsite>
- <name>Proline Contractors</name>
- <main_url>http://prolinecontractors.com.au</main_url>
- <ts_created>2013-10-13 04:56:06</ts_created>
- <timezone>UTC+8</timezone>
- <currency>AUD</currency>
- <excluded_ips />
- <excluded_parameters />
- <excluded_user_agents />
- <sitesearch>1</sitesearch>
- <sitesearch_keyword_parameters>q,query,s,search,searchword,k,keyword</sitesearch_keyword_parameters>
- <sitesearch_category_parameters />
- <group />
- <keep_url_fragment>0</keep_url_fragment>
- <ecommerce>0</ecommerce>
- </row>
- </result>
- Time: 0.09s
- *** Test 2/2: SitesManager.getSitesIdFromSiteUrl ***
- Using: cURL
- SSL peer verification: enabled
- User Agent:
- 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
- Result:
- HTTP/1.1 200 OK
- Date: Mon, 14 Oct 2013 08:06:28 GMT
- Server: Apache
- X-Powered-By: PHP/5.3.27
- Expires: Thu, 19 Nov 1981 08:52:00 GMT
- Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
- Pragma: no-cache
- Set-Cookie: PIWIK_SESSID=b7f48d6dd3acfb159cfcf88a518aac23; path=/; HttpOnly
- Connection: close
- Transfer-Encoding: chunked
- Content-Type: text/xml; charset=utf-8
- <?xml version="1.0" encoding="utf-8" ?>
- <result>
- <row>
- <idsite>5</idsite>
- </row>
- </result>
- Time: 0.09s
- This is what I get when I use the get site configuration =
- ID Title URL Site ID (Piwik)
- - Proline Contractors http://www.prolinecontractors.com.au 1
- ID Title URL Site ID (Piwik)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement