save data via chatfuel json api

Ray Lee 67a45847ed update readme %!s(int64=6) %!d(string=hai) anos
app 67a45847ed update readme %!s(int64=6) %!d(string=hai) anos
bin 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
config 9f2ea1a831 add basic function & api %!s(int64=6) %!d(string=hai) anos
db 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
lib 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
log 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
public 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
tmp 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
vendor 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
.editorconfig 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
.gitignore 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
.ruby-gemset 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
.ruby-version 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
Gemfile 9f2ea1a831 add basic function & api %!s(int64=6) %!d(string=hai) anos
Gemfile.lock 9f2ea1a831 add basic function & api %!s(int64=6) %!d(string=hai) anos
README.md 67a45847ed update readme %!s(int64=6) %!d(string=hai) anos
Rakefile 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos
config.ru 9156d8bebb initial commit %!s(int64=6) %!d(string=hai) anos

README.md

README

Save data from chatfuel json api

Ruby version

ruby '2.5.1'

Rails version

gem 'rails', '~> 5.2.0'

No Model (Database)

file all saved in /storage/.

APIs

GET /event-key

get a hex code from server

POST /save-data/:event_key

put this string in your chatfuel json api url

GET /download-data/:event_key

download the newest report while you need