Giter Club home page Giter Club logo

getssq's Introduction

getssq

npm

getssq 是一个获取**双色球历史数据的工具包,方便开发者进行进一步的数据分析和使用。

安装

使用 npm 进行安装:

npm install getssq

或者使用 yarn 进行安装:

yarn add getssq

使用方法

在你的项目中引入 getssq 并调用它:

import getssq from "getssq";
// 或者
const getssq = require("getssq");

async function main() {
  const data = await getssq();
  console.log(data);
}

main();

返回的数据结构

getssq 返回一个数组,每个元素包含以下属性:

type SSQ = {
  /** 开奖期号 */
  id: string;
  /** 开奖日期 */
  date: string;
  /** 红号 */
  red: string[];
  /** 蓝号 */
  blue: string;
  /** 红号出球顺序 */
  redSeq: string[];
  /** 投注总额 */
  totalBet: string;
  /** 奖池金额 */
  poolAmount: string;
  /** 一等注数 */
  prize1Count: string;
  /** 一等金额 */
  prize1Amount: string;
  /** 二等注数 */
  prize2Count: string;
  /** 二等金额 */
  prize2Amount: string;
  /** 三等注数 */
  prize3Count: string;
  /** 三等金额 */
  prize3Amount: string;
  /** 四等注数 */
  prize4Count: string;
  /** 四等金额 */
  prize4Amount: string;
  /** 五等注数 */
  prize5Count: string;
  /** 五等金额 */
  prize5Amount: string;
  /** 六等注数 */
  prize6Count: string;
  /** 六等金额 */
  prize6Amount: string;
};

getssq's People

Contributors

hohogpb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.