README.md in pokemon_tcg_sdk-2.5.0 vs README.md in pokemon_tcg_sdk-3.0.0
- old
+ new
@@ -2,11 +2,11 @@
[![Gem Version](https://badge.fury.io/rb/pokemon_tcg_sdk.svg)](https://badge.fury.io/rb/pokemon_tcg_sdk)
[![Build Status](https://travis-ci.org/PokemonTCG/pokemon-tcg-sdk-ruby.svg?branch=master)](https://travis-ci.org/PokemonTCG/pokemon-tcg-sdk-ruby)
[![Dependency Status](https://gemnasium.com/badges/github.com/PokemonTCG/pokemon-tcg-sdk-ruby.svg)](https://gemnasium.com/github.com/PokemonTCG/pokemon-tcg-sdk-ruby)
[![Code Climate](https://codeclimate.com/github/PokemonTCG/pokemon-tcg-sdk-ruby/badges/gpa.svg)](https://codeclimate.com/github/PokemonTCG/pokemon-tcg-sdk-ruby)
-[![Coverage Status](https://coveralls.io/repos/github/PokemonTCG/pokemon-tcg-sdk-ruby/badge.svg?branch=master)](https://coveralls.io/github/PokemonTCG/pokemon-tcg-sdk-ruby?branch=master)
+[![Test Coverage](https://api.codeclimate.com/v1/badges/ee9d7d6ee5f8276729bc/test_coverage)](https://codeclimate.com/github/PokemonTCG/pokemon-tcg-sdk-ruby/test_coverage)
This is the Pokémon TCG SDK Ruby implementation. It is a wrapper around the Pokémon TCG API of [pokemontcg.io](http://pokemontcg.io/).
## Installation
@@ -61,10 +61,11 @@
rarity
series
set
set_code
retreat_cost
+ converted_retreat_cost
text
types
attacks
weaknesses
resistances
@@ -74,13 +75,16 @@
code
name
series
total_cards
+ symbol_url
+ logo_url
standard_legal
expanded_legal
release_date
+ updated_at
#### Ability
name
text
@@ -110,26 +114,26 @@
card = Pokemon::Card.find('xy1-1')
#### Filter Cards via query parameters
- cards = Pokemon::Card.where(set: 'generations').where(supertype: 'pokemon').all
+ cards = Pokemon::Card.where(set: 'generations', supertype: 'pokemon')
#### Find all cards (will take awhile)
cards = Pokemon::Card.all
#### Get all cards, but only a specific page of data
- cards = Pokemon::Card.where(page: 5).where(pageSize: 100).all
+ cards = Pokemon::Card.where(page: 5, pageSize: 100)
#### Find a set by code
set = Pokemon::Set.find('base1')
#### Filter sets via query parameters
- sets = Pokemon::Set.where(standardLegal: true).all
+ sets = Pokemon::Set.where(standardLegal: true)
#### Get all Sets
sets = Pokemon::Set.all