class FantasyFootballNerd::Client

Defined in:

fantasy_football_nerd/client.cr

Constant Summary

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

Class Method Summary

Class Method Detail

def self.get(endpoint : String, *args) #

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


[View source]