spejstore-labelmaker/README.md

15 lines
293 B
Markdown
Raw Normal View History

2020-05-20 21:55:44 +00:00
# spejstore-labelmaker
```sh
bundle install
bundle exec ruby main.rb
```
try it out:
GET http://localhost:4567/api/1/preview/:label.png
GET http://localhost:4567/api/1/preview/:label.pdf
POST http://localhost:4567/api/1/print/:label
where :label is a `spejstore` label.id or item.short_id