Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tbeseda/bf3
Simple Ruby gem to get Battlefield 3 stats from bf3stats.com
https://github.com/tbeseda/bf3
Last synced: 3 months ago
JSON representation
Simple Ruby gem to get Battlefield 3 stats from bf3stats.com
- Host: GitHub
- URL: https://github.com/tbeseda/bf3
- Owner: tbeseda
- Created: 2011-11-06T21:33:00.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-29T03:07:43.000Z (about 13 years ago)
- Last Synced: 2024-04-23T23:38:14.674Z (10 months ago)
- Language: Ruby
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Battlefield 3 Stats
powered by bf3stats.com[](http://travis-ci.org/tbeseda/bf3)
## Example:
```ruby
require 'bf3'player = Bf3::Player.new('Raengr', '360')
stats = player.callUp() # get global statskdratio = stats['global']['kills'].to_f / stats['global']['deaths'].to_f
# OR, conveniently
kdratio = player.kdr()# to get ALL THE STATS!
all_stats = player.callUp('all')
```