save data via chatfuel json api

Ray Lee 67a45847ed update readme 6 anni fa
app 67a45847ed update readme 6 anni fa
bin 9156d8bebb initial commit 6 anni fa
config 9f2ea1a831 add basic function & api 6 anni fa
db 9156d8bebb initial commit 6 anni fa
lib 9156d8bebb initial commit 6 anni fa
log 9156d8bebb initial commit 6 anni fa
public 9156d8bebb initial commit 6 anni fa
tmp 9156d8bebb initial commit 6 anni fa
vendor 9156d8bebb initial commit 6 anni fa
.editorconfig 9156d8bebb initial commit 6 anni fa
.gitignore 9156d8bebb initial commit 6 anni fa
.ruby-gemset 9156d8bebb initial commit 6 anni fa
.ruby-version 9156d8bebb initial commit 6 anni fa
Gemfile 9f2ea1a831 add basic function & api 6 anni fa
Gemfile.lock 9f2ea1a831 add basic function & api 6 anni fa
README.md 67a45847ed update readme 6 anni fa
Rakefile 9156d8bebb initial commit 6 anni fa
config.ru 9156d8bebb initial commit 6 anni fa

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