This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

speedrun.js

0.0.5 • Public • Published

speedrun.com API library for Node.js apps

NPM

GitHub issues GitHub forks GitHub stars

GitHub package.json version npm Depfu

Website

Installation

npm i speedrun.js

Usage

This following example uses async/await, you can also use .then()

// Import the module:
const speedrun = require("speedrun.js");

async function speedrunJsExamples(){
    var out;

    // Get game information:
    out = await speedrun.games.getGameByAbbreviation('hl2')
    console.log(out.names.international) // hl2 will output Half-Life 2

    // Search games and get information
    out = await speedrun.games.getGamesByName('Watch Dogs')
    console.log(out) // This will output an array of information containing Watch Dogs in the name
}

speedrunJsExamples()

Refer to the examples dir for more examples

Checklist to do

  • [ ] Finish API (get anything with functions)
  • [ ] Documentate as fast as possible
  • [ ] Logo for the Readme and for the website
  • [ ] Beat node-speedrun's PB (jk, you can use this lib while I make mine)

Package Sidebar

Install

npm i speedrun.js

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

24.3 kB

Total Files

27

Last publish

Collaborators

  • greep