Git Product home page Git Product logo

Comments (29)

kranemax avatar kranemax commented on June 16, 2024

Hello, I'm from the API Team and would like to apologise that the API is currently having issues retrieving data from the gameservers. We have therefore blocked all requests so our error logs don't get spammed.

This will get fixed ASAP. We will update on this thread once it is fixed. For notifications, please subscribe to the thread.

from api.

kranemax avatar kranemax commented on June 16, 2024

For now, I suggest webscraping https://www.brawlstats.io as it is a good site that doesn't deserve ad revenue.

from api.

SharpBit avatar SharpBit commented on June 16, 2024

Savage xD

from api.

kranemax avatar kranemax commented on June 16, 2024

Hello @SharpBit, I'm not really sure what you were referring to. Everything I've said is true.

from api.

PallavBS avatar PallavBS commented on June 16, 2024

I appreciate the speedy replys, looking forward to using this api.

from api.

ravener avatar ravener commented on June 16, 2024

Lol y scrape brawlstats.io

from api.

SharpBit avatar SharpBit commented on June 16, 2024

@freetnt5852 because it doesn't deserve the ad revenue.

from api.

kranemax avatar kranemax commented on June 16, 2024

I'll be working on the API over the weekend. Might not have all the features that it used to have (blame supercell) but I'll be working on it. Let me know which features you guys want best and I'll ensure it gets up this weekend! Thanks for the support! 💪

from api.

kyb3r avatar kyb3r commented on June 16, 2024

@kranemax what language is the API written in and what can we do to get involved in its development?

from api.

kranemax avatar kranemax commented on June 16, 2024

Hello @kyb3r, it'd be better to create a separate issue for that for organisation sake.

EDIT: I've just created a CONTRIBUTING.md that answers all your questions.

from api.

kranemax avatar kranemax commented on June 16, 2024

Currently Planned to come by next Monday:

  • Player stats (Trophies, highest, boss best time, robo rumble, tag, name, badge)
  • Basic band info (name, tag, badge)
  • List of brawler names

from api.

SharpBit avatar SharpBit commented on June 16, 2024

Hey, @kranemax, you said suggest some stuff for the API. So here are my suggestions.

1. Player info, brawlers, brawler info, player info, etc
2. For each brawler the player has, include info about their brawler like trophies, pb, etc
3. Assets (PNG files) of stuff like profile icon(highest brawler), and each brawler in the game
4. Events (current and upcoming)
5. Their band info, return a "band object", with info of the band (name, description, location, type, etc)
6. In band info: maybe a list of members objects that do #1, 2, and 5

I know this is a lot to ask by the weekend, but if you can't do all this by the weekend, I am willing to wait more. If any of this list is restricted by supercell, just tell me and I will understand.

from api.

kranemax avatar kranemax commented on June 16, 2024

@SharpBit, thank you so much for the support!

For number 6, it might require another requests to the /bands endpoint. I'll try my best to include all the other endpoints.

I'm working on mainly the /players endpoint by the weekend. Hopefully I'll get some basic information in /bands but I can't confirm for sure.

I have forked a repository, brawlstarsAPI/bs assets and will likely be using that as my point of assets, and provide links to the image files from there.

from api.

kranemax avatar kranemax commented on June 16, 2024

I'm dropping some information below about things I've confirmed in the new API Design:

There might be Authorization keys, in bearer. Not confirmed.

Standard format as follows

{
    "status": {
        "error": false,
        "code": 200,
        "message": "OK"
    },
    "data": {}
}

As always, this is subject to minor changes but this is the mindset I have with the API design. Endpoints would be the same as current, /players , /bands all with /api in the base url.

from api.

Quantumlyy avatar Quantumlyy commented on June 16, 2024

Maybe add a brawler endpoint for a player to get a single brawlers stats for that player to not overflow the result. Also is there is discord or slack for the API?

from api.

kranemax avatar kranemax commented on June 16, 2024

I intend on creating one, but not when the API isn't working. I might be working on using querystrings to filter the result so you don't get a super huge JSON object that you aren't using. It's on the to do list, but not in the high priority.

from api.

SharpBit avatar SharpBit commented on June 16, 2024

Hey, you probably know this already, but the profile icons are bs-assets/images/thumbnails/high/player_icon_id-or-name.png right? Just making sure

from api.

kranemax avatar kranemax commented on June 16, 2024

It should be, yes. The links will be given by the API in the response so you can use them directly so don't worry about that.

from api.

umbresp avatar umbresp commented on June 16, 2024

whew this blew up

from api.

SharpBit avatar SharpBit commented on June 16, 2024

Cool, keep it up! I would help but I don't fullfil the first 2 requirements in contributing.md
Edit: oh and the sanic one
Maybe ask kyber or something

from api.

umbresp avatar umbresp commented on June 16, 2024

what if you fulfill half the requirements and someone else fulfills half the requirements, can we count as one person?

from api.

kranemax avatar kranemax commented on June 16, 2024

Hey @SharpBit, I'd love to see you help out. These messages are much more fit for our discord server which I'll do a much more proper announcement about once I actually get the API going.

I'm not currently looking out for contributors and people to help, and therefore I've not immediately accepted your request. The first 2 pointers are the most important and are therefore the first 2 themselves, so I hope you'd learn them and DM me hopefully soon on discord. Till then, enjoy!

from api.

kranemax avatar kranemax commented on June 16, 2024

Hey @umbresp, I'm looking to share the source code with as little people as possible, and people I personally would quite trust. Therefore that'd not count as two people :(

from api.

umbresp avatar umbresp commented on June 16, 2024

@kyb3r teach me how to decrypt supercell’s packets pls thanks senpai

from api.

kranemax avatar kranemax commented on June 16, 2024

We have added a bit of statistics to /players/:tag, and will add more as the time goes on. Hopefully we'll clear the list of SharpBit's suggested features by the end of the weekend.

from api.

SharpBit avatar SharpBit commented on June 16, 2024

Ok, thanks! Also you linked the discord server to this thread.

Edit: never mind, I didn't refresh the page

from api.

kranemax avatar kranemax commented on June 16, 2024

The link is right here. See you there!

from api.

Dorian349 avatar Dorian349 commented on June 16, 2024

@kranemax Is it possible to contact you on Discord?

from api.

SharpBit avatar SharpBit commented on June 16, 2024

@NairodTV Hey there, there's a great brawl stars API online at https://brawlapi.cf/api

Join the discord to get your API key: https://discord.me/BrawlAPI

from api.

Related Issues (6)

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.