Project

barcher

0.0
No commit activity in last 3 years
No release in over 3 years
Simple ruby client for the Clash of Clans API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Barcher

Barcher Image

A simple wrapper to access the clash of clans API in Ruby

Usage

  gem install barcher

Then from a REPL (irb, rails c)

  barcher = Barcher::Client.new(token: "your token from your account")
  
  barcher.clan_search(options)

  barcher.find_clan("clan tag")

  barcher.clan_members_for("clan tag")

  barcher.locations

  barcher.location(location_id)

  barcher.rankings_at_location(location_id, ranking_id)

  barcher.leagues

Testing

To run all tests you can:

  bundle

then

  rake test

Note

This is just a first pass at getting something working, there are no error checks applied, so undesirable behavior will occur.