Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dkasak

    (@dkasak)

    The for works for me. Thanks ??

    Thread Starter dkasak

    (@dkasak)

    Results of test script:

    *** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess ***
    Using: cURL
    SSL peer verification: enabled
    User Agent:
    Call: https://www.stopwarcoalition.org/analytics/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN
    Result:
    HTTP/1.1 200 OK
    Date: Mon, 15 Sep 2014 05:09:25 GMT
    Server: Apache
    X-Powered-By: PHP/5.4.31-pl0-gentoo
    Content-Length: 7954
    Content-Type: text/xml; charset=utf-8

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <result>
    <row>
    <idsite>1</idsite>
    <name>stopwarcoalition.org</name>
    <main_url>https://www.stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 13:32:12</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>2</idsite>
    <name>Stop+the+War+Coalition%2C+Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 13:47:21</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>3</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 22:45:35</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>4</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 22:56:30</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>5</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 22:56:56</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>6</idsite>
    <name>Stop+the+War+Coalition%2C+Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 22:57:14</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>7</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 23:03:25</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>8</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-14 23:06:20</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>9</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-15 04:36:27</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>10</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-15 04:58:24</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>11</idsite>
    <name>Stop+the+War+Coalition%2C+Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-15 04:59:09</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>12</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-15 05:00:11</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>13</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-15 05:00:26</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>14</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-15 05:00:45</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    <row>
    <idsite>15</idsite>
    <name>Stop the War Coalition, Sydney</name>
    <main_url>https://stopwarcoalition.org</main_url&gt;
    <ts_created>2014-09-15 05:02:01</ts_created>
    <ecommerce>0</ecommerce>
    <sitesearch>1</sitesearch>
    <sitesearch_keyword_parameters />
    <sitesearch_category_parameters />
    <timezone>Australia/Sydney</timezone>
    <currency>USD</currency>
    <excluded_ips />
    <excluded_parameters />
    <excluded_user_agents />
    <group />
    <type>website</type>
    <keep_url_fragment>0</keep_url_fragment>
    </row>
    </result>
    Time: 0.48s

    *** Test 2/2: SitesManager.getSitesIdFromSiteUrl ***
    Using: cURL
    SSL peer verification: enabled
    User Agent:
    Call: https://www.stopwarcoalition.org/analytics/?module=API&method=SitesManager.getSitesIdFromSiteUrl&url=http%3A%2F%2Fstopwarcoalition.org&format=XML&token_auth= + TOKEN
    Result:
    HTTP/1.1 200 OK
    Date: Mon, 15 Sep 2014 05:09:25 GMT
    Server: Apache
    X-Powered-By: PHP/5.4.31-pl0-gentoo
    Content-Length: 604
    Content-Type: text/xml; charset=utf-8

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <result>
    <row>
    <idsite>1</idsite>
    </row>
    <row>
    <idsite>2</idsite>
    </row>
    <row>
    <idsite>3</idsite>
    </row>
    <row>
    <idsite>4</idsite>
    </row>
    <row>
    <idsite>5</idsite>
    </row>
    <row>
    <idsite>6</idsite>
    </row>
    <row>
    <idsite>7</idsite>
    </row>
    <row>
    <idsite>8</idsite>
    </row>
    <row>
    <idsite>9</idsite>
    </row>
    <row>
    <idsite>10</idsite>
    </row>
    <row>
    <idsite>11</idsite>
    </row>
    <row>
    <idsite>12</idsite>
    </row>
    <row>
    <idsite>13</idsite>
    </row>
    <row>
    <idsite>14</idsite>
    </row>
    <row>
    <idsite>15</idsite>
    </row>
    </result>
    Time: 0.12s

Viewing 2 replies - 1 through 2 (of 2 total)