Basic interface to the NFTScan API. Currently only requesting account data. Work in prograss, not production ready. Feel free to contribute.
If available in Hex, the package can be installed
by adding nftscan_client
to your list of dependencies in mix.exs
:
def deps do
[
{:nftscan_client, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/nftscan_client.
To use the client you need to set an environment variable NFTSCAN_API_KEY
or override the configuration like this
config :nftscan_client, api_key: System.get_env("NFTSCAN_API_KEY")