Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

API Methods

Benjamin Diolez edited this page May 5, 2026 · 1 revision

Data API / Reporting API v3 / Methods / API Methods

getData

If you need to return the data of a query, you can use the getData method as described below.

https://api.atinternet.io/v3/data/getData?param={"columns":["visit_device_type","m_visits"],"sort":["-m_visits"],"space":{"s":[547656]},"period":{"p1":[{"type":"D","start":"2019-10-24","end":"2019-10-24"}]},"max-results":50,"page-num":1}

getRowCount

If you need to get the number of results of a query, you can use the getRowCount method as described below.

https://api.atinternet.io/v3/data/getRowCount?param={"columns":["visit_device_type","m_visits"],"space":{"s":[547656]},"period":{"p1":[{"type":"D","start":"2019-10-24","end":"2019-10-24"}]}}

Here are the mandatory query parameters:

  • columns
  • space
  • period

getTotal

If you need to get the total for each metric, you can use the getTotal method as described below.

https://api.atinternet.io/v3/data/getTotal?param={"columns":["visit_device_type","m_visits"],"space":{"s":[547656]},"period":{"p1":[{"type":"D","start":"2019-10-24","end":"2019-10-24"}]}}

Here are the mandatory query parameters:

  • columns
  • space
  • period

Last update: 04/05/2021

Wiki contents

Clone this wiki locally