ExKaggle.Client behaviour (ex_kaggle v0.1.0)

View Source

A client wrapper to use credentials to access the Kaggle API

Either username and key are in the kaggle config file ("~/.kaggle/kaggle.json") or stored as environment variables: KAGGLE_USERNAME, KAGGLE_KEY

Summary

Functions

Make a get request with API credentials.

Check that the credentials are working

Callbacks

get(url, options)

@callback get(url :: String.t(), options :: keyword()) ::
  {:ok, Req.Response.t()} | {:error, String.t()}

Functions

get(url, opts \\ [])

Make a get request with API credentials.

validate()

Check that the credentials are working