Project

ripe-atlas

0.0
No commit activity in last 3 years
No release in over 3 years
ripe-atlas is an API wrapper for the RIPE Atlas API. You can get probes and measurements and even stop measurements.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8.1
~> 1.7.2
 Project Readme

ripe-atlas

ripe-atlas is a minimalistic API wrapper for the RIPE Atlas API. It is written entirely in Ruby.

At the current state of development, you can:

  • Get probes
  • Get measurements
  • Stop measurements

Installation

gem install ripe-atlas

Congratulations, now you can use the ripe-atlas gem!


Usage

To use the gem, you should require it first:

require 'ripe-atlas'

Then you should create a client. You can pass an API key:

client = Atlas::Client.new "1234-1234-1234-1234"

Now, you should be able to do some magic with your freshly initialized client:

Getting Atlas probes

To get RIPE Atlas probes, you can use #get_probes.

client.get_probes({:id => 333})

To get a list of all parameters, visit this site: https://atlas.ripe.net/docs/rest/#probe

Getting measurements

To get measurement objects, you can use #get_measurements.

client.get_measurements({:status => 3})

List of all parameters: https://atlas.ripe.net/docs/rest/#measurement

Stopping measurements

client.stop_measurement(id)

Donate

If you would like to support me or buy me a bottle of Club Mate, you can do it here:

Support via Gittip

Flattr this git repo