Skip to content

clockinface/clockinface-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

ClockInFace API Examples

This repository contains runnable examples and interactive demos for the ClockInFace Facial Recognition Attendance API.

It is intended for developers who want to try the API, inspect real requests, and run end-to-end flows, not for architectural or conceptual documentation.

📘 Looking for system design or architecture documentation?
Visit the official API documentation site:
👉 https://clockinface.github.io/clockinface-api-docs/


What This Repository Is For

This repository focuses exclusively on execution-level examples, including:

  • Runnable API usage examples
  • End-to-end identity and attendance flows
  • Interactive demos using Google Colab
  • Webhook integration and event delivery testing
  • Reference requests and responses

If you want to understand how the system works conceptually, use the documentation site linked above.
If you want to run code, you are in the right place.


🚀 Quick Start – Interactive Google Colab Demo

The fastest way to try the ClockInFace API is using the interactive Google Colab notebook included in this repository.

▶️ Main API Demo

This notebook demonstrates:

  • Bearer token authentication
  • Registering persons with face images
  • Facial recognition for known and unknown identities
  • Listing persons and face embeddings
  • Attendance-ready identity verification flows

No local setup is required.


🧪 Webhook Integral Testing Demo

This advanced notebook demonstrates a complete end-to-end integration including:

  • Using a backend-issued API token
  • Exposing a public webhook endpoint via ngrok
  • Subscribing to attendance.created events
  • Triggering real facial recognition requests
  • Receiving webhook notifications in real time

It is ideal for testing:

  • Attendance automations
  • Webhook infrastructure
  • End-to-end production-like flows

▶️ Webhook + Attendance Demo


📦 Repository Contents

  • clockinface_api_colab_demo.ipynb
    End-to-end Google Colab demo showing how to use the ClockInFace API in a realistic attendance workflow.

  • clockinface_webhook_attendance_demo.ipynb
    End-to-end webhook integration demo including real-time attendance event delivery.

Additional examples may be added over time as the API evolves.


🔐 Authentication

All API requests use Bearer token authentication.

Authentication tokens are issued per configuration and control:

  • Access scope
  • Expiration
  • Usage limits

Complete authentication examples are included in the notebooks.


🔗 Related Resources


About This Repository

This repository intentionally avoids:

  • System architecture explanations
  • Product comparisons
  • Marketing content

Its purpose is to provide clear, working reference implementations for developers integrating the ClockInFace facial recognition attendance API.

About

Official ClockInFace API examples and Google Colab demos for facial recognition attendance systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors