New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@moromis/ballchasing

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moromis/ballchasing

Provides a wrapper around the ballchasing.com API

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

ballchasing

This package provides a wrapper around the ballchasing.com API.

Install

npm i ballchasing

or

yarn add ballchasing

Quick Start

const {BallChasingAPI} = require("ballchasing");

const bc = new BallChasingAPI("your-api-key-here");

;(async () => {
    
    // ping the ballchasing.com api server
    // This tests connectivity to the server
    // and your API key
    const pingResponse = await bc.ping();    
    
    // get a list of maps
    const mapsResponse = await bc.getMaps();
    
    // get replays by player "noot" from Jan 1 2020 to Jan 1 2021 on map "park_p"
    // sorted ascending by the date of the replay
    const replaysResponse = await bc.listReplays({
        playerName: "noot",
        createdAfter: "2020-01-01T00:00:00-05:00",
        createdBefore: "2021-01-01T00:00:00-05:00",
        map: "park_p",
        sortBy: "replay-date",
        sortDir: "asc"
    });

})();

Documentation

https://devnoot.github.io/ballchasing/

Keywords

ballchasing

FAQs

Package last updated on 06 Aug 2023

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