0.0
No release in over 3 years
Unofficial Ruby gem for Monogoto API. Monogoto is a IoT connectivity management platform
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0
>= 0
~> 0.21, >= 0.21.0
 Project Readme

Monogoto API Ruby Client

Gem Version License: MIT

A simple and unofficial Ruby wrapper for the Monogoto IoT Connectivity API.

⚠️ This gem is not affiliated with Monogoto. Use it at your own risk.


1. Installation

Add this line to your application's Gemfile:

gem "monogoto_api"

And then execute:

bundle install

Or install it manually with:

gem install monogoto_api

2. Usage

1. Configure the client

You can authenticate with your Monogoto credentials:

require "monogoto_api"

client = MonogotoApi::Client.new("monogoto_user", "monogoto_pass")

You can retive account information

things_list = client.things

or you can operate by Things with the ICCID

thing = client.thing(iccid)

pings = client.thing_ping(iccid)

result = clientg.thing_state(iccid)

result = client.thing_session_status(iccid)

result = client.thing_refresh_connection(iccid)

events = client.thing_events(iccid)

Contributing

Bug reports and pull requests are welcome! Please open an issue first to discuss changes.

To contribute:

  1. Fork the repo
  2. Create a new branch
  3. Commit your changes
  4. Submit a Pull Request

Enviroment variables to develop

You have to set this ENV vars in the file .env in the root directory

MONOGOTO_USER="<email>"
MONOGOTO_PASS="<PASSWORD>"
MONOGOTO_ICCID_SAMPLE="<ICCID>"

License

This project is licensed under the MIT License.