A Ruby API Library for Albion Online
I am actively updating this gem all the time, I recommend locking your version for now unless you want the new API calls.
# Gemfile
gem 'albion-api', '~> 0.0'
or, you can of course install it via your shell.
$ gem install albion-api -v '~> 0.0'
- UserKillboard
- UserSearch
- GuildSearch
- GuildMembers
A bunch still haha, I haven't scraped all of them quite yet so an exhaustive list isn't here yet.
API IDs: The Albion API operates off of internally generated API IDs for every objects in their database. This term refers to said ID for a given object.
The simple way to use the library is as such:
require 'albion-api'
client = AlbionApi::UserSearch.new('USER_NAME')
response = client.find
More in depth details about each call to come.
Create a fork, and send me a PR! I am always happy to accept contributions.
Travis will be setup soon to run tests, so make sure you add them!
the tests aren't 100% exhaustive yet, mainly just integration tests, so don't break your back for now ;)