Comments (29)
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.
For now, I suggest webscraping https://www.brawlstats.io as it is a good site that doesn't deserve ad revenue.
from api.
Savage xD
from api.
Hello @SharpBit, I'm not really sure what you were referring to. Everything I've said is true.
from api.
I appreciate the speedy replys, looking forward to using this api.
from api.
Lol y scrape brawlstats.io
from api.
@freetnt5852 because it doesn't deserve the ad revenue.
from api.
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.
@kranemax what language is the API written in and what can we do to get involved in its development?
from api.
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.
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.
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.
@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.
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.
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.
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.
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.
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.
whew this blew up
from api.
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.
what if you fulfill half the requirements and someone else fulfills half the requirements, can we count as one person?
from api.
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.
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.
@kyb3r teach me how to decrypt supercell’s packets pls thanks senpai
from api.
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.
Ok, thanks! Also you linked the discord server to this thread.
Edit: never mind, I didn't refresh the page
from api.
The link is right here. See you there!
from api.
@kranemax Is it possible to contact you on Discord?
from api.
@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)
- Not working
- /api/events returns 404 not found HOT 3
- Application for contributing. HOT 3
- Api state HOT 5
- Invalid authorization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.