Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cryptokitties-contrib

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptokitties-contrib

A package to interact with the API of cryptokitties.co

  • 0.2.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 13 Jan 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc