Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add end point to get current stats on all clients #245

Open
thequbit opened this issue Mar 27, 2015 · 1 comment
Open

Add end point to get current stats on all clients #245

thequbit opened this issue Mar 27, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@thequbit
Copy link
Member

This would include the total number of clients that have contacted the server within some time frame within a lat/lng box. This could then be used on the front-end to get an idea of how many people are in a users default geo-fence area.

@thequbit thequbit self-assigned this Mar 27, 2015
@thequbit thequbit added this to the v0.1.2 milestone Mar 27, 2015
@thequbit
Copy link
Member Author

For the clients table we a number of things, but I think these are the ones we should return:

client_id = Column(Integer, primary_key=True)
cuid = Column(Text)

first_name = Column(Text, nullable=True)
last_name = Column(Text, nullable=True)
email = Column(Text, nullable=True)

verified = Column(Boolean)
verified_datetime = Column(DateTime, nullable=True)

creation_datetime = Column(DateTime)
last_check_in_datetime = Column(DateTime)

last_lat = Column(Float)
last_lng = Column(Float)

Will work on implementing this shortly. Nice to help track adoption rate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant