Bell API Documentation
  • Bellwether API
  • Bellwether API Documentation
    • Introduction to Bellwether API
    • Authorization
    • API Error Codes
  • API 2.0
    • Locations
    • Locations Detailed
    • 5 Minute Data
    • 60 Minute Data
    • Population
    • Roster
Powered by GitBook
On this page

Was this helpful?

  1. API 2.0

Population

Population API's are available only to customers who have specifically purchased proprietary population count access

Get population numbers

GET https://bellwether.co.nz/api/2.0/pop/?nid={nid}&tz={timezone}&time_start={time}&cam={location}&date={date}&uid={uid}

This endpoint allows you to get free cakes.

Path Parameters

Name
Type
Description

uid

string

ID of the user

out

string

Output type, default JSON json can be changed to CSV csv

date

string

The date of the retrieval yyyy-mm-dd 2020-02-05

time_start

string

The start time of the retrieval period hh:mm 06:00

nid

string

The unique identifier for your count system. This is privately provided

tz

string

The Time Zone of your count location. This defaults to Pacific/Auckland

cam

string

ID of the location

Headers

Name
Type
Description

Authentication

string

Bearer token in standard format

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
{    "message": "Ain't no cake like that."}

Previous60 Minute DataNextRoster

Last updated 1 year ago

Was this helpful?