Your masjid · Statistics

Your One statistics

How your masjids do in the Masjidbox One app: followers, follows, searches and the devices your notifications reached.

Right on the key: Statistics: read for a read, edit (secret key) for a write.

Your One statistics

Masjid key · Statistics: read

GET/v1/masjid/stats/one

Your masjids' figures in the Masjidbox One app: followers now, follows, searches, donation-page opens, notifications sent and the devices they reached. Needs Statistics: read.

Parameters

No parameters.

Returns

The statistics.

  • objectone_stats

    Always one_stats.

  • masjidsstring[]

    Your organization's masjids.

  • statsobject[]

    One line per masjid of your organization.

    Show child attributes (13)
    • masjidstring

      A masjid of your organization.

    • followersinteger

      Devices following the masjid now; 0 when One does not answer.

    • followsinteger

      Times the masjid was followed.

    • searchesinteger

      Times the masjid came up in a One search.

    • donationClicksinteger

      Times its donation page was opened from One.

    • notificationsinteger

      Notifications sent for it.

    • notificationsDeliveredobject

      Devices reached by those notifications, per wave.

    • notificationsDelivered.followersobject

      Followers reached.

    • notificationsDelivered.followers.iosinteger

      iOS devices reached.

    • notificationsDelivered.followers.androidinteger

      Android devices reached.

    • notificationsDelivered.nearbyobject

      Devices nearby reached.

    • notificationsDelivered.nearby.iosinteger

      iOS devices reached.

    • notificationsDelivered.nearby.androidinteger

      Android devices reached.

GET /v1/masjid/stats/one
curl "https://hub.masjidbox.com/v1/masjid/stats/one" \
  -H "Authorization: Bearer $MASJIDBOX_KEY"
200 · MasjidOneStats
{
  "masjids": [
    "msj_o5urjd3hd5"
  ],
  "object": "one_stats",
  "stats": [
    {
      "donationClicks": 4,
      "followers": 512,
      "follows": 120,
      "masjid": "msj_o5urjd3hd5",
      "notifications": 3,
      "notificationsDelivered": {
        "followers": {
          "android": 21,
          "ios": 10
        },
        "nearby": {
          "android": 2,
          "ios": 1
        }
      },
      "searches": 900
    }
  ]
}