verynifty / cl-opensea-adapter

OpenSea avg NFT price adapter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chainlink OpenSea External Adapter (WIP)

Input Params

  • offset, startAt: The # of contracts to offset
  • limit, qty: Limit of contracts/dapps to return

Output

{
 "jobRunID": "278c97ffadb54a5bbb93cfec5f7b5503",
 "data": {
  ["collections": [],
  "result": 250]
 },
 "statusCode": 200
}

Install Locally

Install dependencies:

yarn

Natively run the application (defaults to port 8080):

Run

yarn start

Call the external adapter/API server

curl -X POST -H "content-type:application/json" "http://localhost:8080/" --data '{ "id": 0, "data": { "offset": "0", "limit": "1" } }'

About

OpenSea avg NFT price adapter.


Languages

Language:JavaScript 95.7%Language:Dockerfile 4.3%