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

https://github.com/dimasmith/message-stats


https://github.com/dimasmith/message-stats

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

SMS Stats
=========

Process stats from SmsBackupRestore export files.

# Running

It is standard spring boot application. So it can be started with
```
gradlew bootRun
```

## Parameters
| Property | Env | Meaning |
| --- | --- | --- |
| `import.url` | `IMPORT_URL` | URL or file where xml file with messages is present |

# REST

Configured statistics endpoints:

Count messages by sender
```
/v1/stats/bySender
```

Count messages by day of week
```
/v1/stats/byDayOfWeek
```

Count messages by month
```
/v1/stats/byMonth
```