Socket
Socket
Sign inDemoInstall

cryptokitties-contrib

Package Overview
Dependencies
52
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cryptokitties-contrib

A package to interact with the API of cryptokitties.co


Version published
Weekly downloads
18
increased by800%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

CryptoKitties API client

A unofficial API client in NodeJS for CryptoKitties

Usage

When module is imported, returns a CryptokittiesClient, all the others are functions of that object.

CryptoKittiesClient (opts)

Takes as a argument a object with the options, whith a structure of:

{  
  url: String, // The URL of the API, defaults to https://api.cryptokitties.co/
  credentials: {
    jwt: String // The JWT for accessing some APIs
  }
}

listAuctions (type = "sale", status="open", limit, offset=0)

Makes a list of the ongoing auctions.

getKitten (id)

Gets information about a specific cat.

getMyProfile ()

Gets your proffile.

getUserKitties (address, limit, offset=0)

Gets the kitties of a ethereum address.

Keywords

FAQs

Last updated on 13 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc