Git Product home page Git Product logo

blaseball-api-spec's People

Contributors

alandesmet avatar andrew-schwartz avatar corvimae avatar dlareau avatar dwfig avatar everlastingwonder avatar fox8091 avatar iliana avatar jack-goslin avatar jmaliksi avatar mixolyde avatar qalthos avatar tehstone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blaseball-api-spec's Issues

I'm willing to add API specs for logged-in features, do we want that?

Many of the features of the website are only available when logged in. If found that getting active bets, buying snacks, etc. all also have their endpoints, for example under /api/buySnack or /api/getActiveBets. Those APIs are of course specific per user, so they do require a session id in the request header.

Should we start documenting those too? I'd be happy to make a PR and add all the ones I can find!

New API endpoint [Items]

Now items also has its own endpoint.

Endpoint

https://www.blaseball.com/database/items?ids=id1,id2,id3...

Response

[
   {
      "id":"097a1d1d-cd6c-40c6-85b1-d52a385454b2",
      "name":"Bat",
      "forger":null,
      "forgerName":null,
      "prePrefix":null,
      "prefixes":null,
      "postPrefix":null,
      "root":{
         "name":"Bat",
         "adjustments":[
            {
               "stat":2,
               "type":1,
               "value":0.14912110485710017
            }
         ]
      },
      "suffix":null,
      "durability":1,
      "health":1,
      "baserunningRating":0,
      "pitchingRating":0,
      "hittingRating":0.04909050739177978,
      "defenseRating":0
   }
]

Missing Information on Player Statsheets Page

Player statsheets explanation page has no data on what the hitsAllowed value means. I presume this would be similar in relationship with hits like the relationship between walks and walksAllowed -- that being, the allowed variation is the value from the pitcher's perspective, correct?

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.