class PokeAPI::Client
- PokeAPI::Client
- Reference
- Object
Overview
PokeAPI::Client handles requests to pokeapi.co.
Defined in:
pokeapi/client.crClass Method Summary
-
.get(path : String, limit : UInt32, offset : UInt32) : HTTP::Client::Response
Requests
pokeapi.cofor limit items at the given path. -
.get(path : String) : HTTP::Client::Response
Requests
pokeapi.cofor a single item at the given path.
Class Method Detail
def self.get(path : String, limit : UInt32, offset : UInt32) : HTTP::Client::Response
#
Requests pokeapi.co for limit items at the given path.
def self.get(path : String) : HTTP::Client::Response
#
Requests pokeapi.co for a single item at the given path.