class

FantasyFootballNerd::Client

Inherits Reference < Object

Constants

API_KEY = ENV["FF_NERDS_API_KEY"]? ? ENV["FF_NERDS_API_KEY"] : "test"
BASE_URL = "https://www.fantasyfootballnerd.com/service/"

Class methods

get(endpoint : String, *args)

Sends query to google api endpoint. Appends the api key if it exists in ENV Handles the response from google.

Source