Skip to content

mntns/ripe-atlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Ruby gem for the RIPE Atlas API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages