Skip to content

Instantly share code, notes, and snippets.

View kolo's full-sized avatar

Dmitry Maksimov kolo

View GitHub Profile
@kolo
kolo / gist:2724734
Created May 18, 2012 11:14 — forked from bartku/gist:2419852
world of tanks api
http://worldoftanks.eu/community/accounts/api/%API_VER%/?source_token=%TOKEN%&search=%NAME%&offset=0&limit=1
http://worldoftanks.eu/community/accounts/%PLAYER_ID%/api/%API_VER%/?source_token=%TOKEN%
http://worldoftanks.eu/community/clans/api/%API_VER%/?source_token=%TOKEN%&search=%CLAN_NAME%&offset=0&limit=1
http://worldoftanks.eu/community/clans/%CLAN_ID%/api/%API_VER%/?source_token=%TOKEN%
http://worldoftanks.eu/personal/api/%API_VER%/?source_token=%TOKEN%
login req: getlogin: https://worldoftanks.eu/auth/create/api/1.0/?source_token=%TOKEN%
gettoken: https://worldoftanks.eu/utils/csrf/api/1.0/?source_token=%TOKEN%
api versions: 1.0, 1.1, 1.2, 1.3
@kolo
kolo / warden.rb
Created March 23, 2011 14:42 — forked from cavalle/warden.rb
# Create a file `spec/acceptance/support/warden.rb' with the following
# contents:
Spec::Runner.configure do |config|
config.include Warden::Test::Helpers, :type => :acceptance
config.after(:each, :type => :acceptance) { Warden.test_reset! }
end
# Or, if you're using RSpec 2 / Rails 3, the contents should be the following
# instead: