getdata

To query a data set, you may use the getdata method with the required parameters.

Here’s an example of URL you can call:

https://apirest.atinternet-solutions.com/data/v2/GetData?&period={D:2017-06-30}&space={s:123456}&columns={d_page,m_visits}&filter={d_page:{$eq:'home'}}&sort={m_visits}&page-num=2&max-results=10&sep=comma&lng=fr

Please refer to this note if you’re using SSO to login to AT Internet services.

This call will retrieve 10 results from page 2 (from the 11th to the 20th result) for the “Pages” dimension (d_page) with the “Visits” metric (m_visits) for site 123456 on the 30th of June 2017.

The results are filtered by page label (must be set to “home”) and sorted by increasing number of visits. They are presented in French and contain a comma as a decimal separator.

 

Was this post helpful?

Last update: 22/01/2019