Project

memobird

0.0
No commit activity in last 3 years
No release in over 3 years
封装咕咕机官方提供的打印接口
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.5.2
~> 1.16
~> 2.1.0
~> 10.0
 Project Readme

Memobird

封装咕咕机官方API

Installation

Add this line to your application's Gemfile:

gem 'memobird'

And then execute:

$ bundle

Or install it yourself as:

$ gem install memobird

Usage

require 'memobird'

Memobird.api_key = '申请的AK'
Memobird.memobird_id = '咕咕机设备编号'
Memobird.user_identifying = 'App账户的咕咕号'

Memobird.print_content(text: Time.now.inspect)

License

The gem is available as open source under the terms of the MIT License.