Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clairefro/where-client-api


https://github.com/clairefro/where-client-api

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# WHERE Client API
This code is for the "WHERE API" part of the sequence below
```mermaid
sequenceDiagram
participant Ipinfo as ipinfo
participant Script as Script (cronjob)
participant TrackingServer as Tracking Server
participant DB as DB
participant WhereAPI as WHERE API
participant Client

Script ->> Ipinfo: Ping
Ipinfo ->> Script: Location data
Script ->> TrackingServer: location data
TrackingServer ->> DB: location data


Client -->> WhereAPI: GET /latest location
WhereAPI -->> TrackingServer: get latest location
TrackingServer -->> WhereAPI: send latest location
WhereAPI -->> Client: return latest location

```