Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.24 KB

README.md

File metadata and controls

24 lines (13 loc) · 1.24 KB

posh-blockchain-api

This is a WIP

What started as a wrapper for the wonderful BlockchainAPI by Josh Wolff. See --> https://docs.blockchainapi.com/ for usage of the base API. All credit to https://github.com/joshwolff1 | This is now an amalgamation of tools for getting blockchain data, assets (cross-chain), token data (cross-chain), and more.

USAGE

  1. Clone and Import the module. Import-Module .\path\to\psm1
  2. Run Enter-BlockchainAPI to be prompted to enter API key

image

Good to go! Run the rest of the cmdlets knowing your API keys are only local in your shell (and the parent API), never outside.

Example Output

Get-NFTCollectionData -CollectionName aurory -Marketplace magic-eden

image

IMPORTANT

Get-NFTradeCollectionStats requires the AngleSharp module for powershell. See --> https://github.com/AngleSharp/AngleSharp for more. This is due to POSH 7+ removing dynamic HTTP response object. Opting in for httpclient and basicwebresponse. Makes things challenging, but I'm sure this will be solved soon natively.