Skip to content

Commit 6c51436

Browse files
committed
change log
1 parent caf52fa commit 6c51436

2 files changed

Lines changed: 33 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [3.0.0]
5+
### Added
6+
- Official API support (all endpoints implemented, all methods documented)
7+
- `Forbidden` error raised when code 403 received
8+
- New terminology! "BrawlAPI" refers to the [unofficial API](https://api.brawlapi.cf/v1) while "OfficialAPI" refers to the [official API](https://developer.brawlstars.com)
9+
### Changed (BREAKING)
10+
- The unofficial API's client will now be accessed as `brawlstats.BrawlAPI` (from `brawlstats.Client`)
11+
- The unofficial API's models will now be accessed as `brawlstats.brawlapi.ModelName`
12+
- The official API's client will be accessed by `brawlstats.OfficialAPI`
13+
- The official API's models will be accessed by `brawlstats.officialapi.ModelName`
14+
- `get_leaderboard()` will now require "brawlers" for the ranking type and the actual brawler name passed through the brawler kwarg.
15+
- `get_leaderboard()` `count` argument has been renamed to `limit`
16+
### Fixed
17+
- BrawlAPI `get_leaderboard` parameter documentation fixed
18+
- Arguments passed into functions that require player/club tags now properly get formatted correctly.
19+
420
## [2.3.14] - 9/14/19
521
### Changed
6-
- Default timeout to 30
7-
- Cache size for the maximum size necessary (3 r/s)
22+
- Default timeout from 10 to 30
23+
### Fixed
24+
- Cache is smaller due to smaller 3 r/s ratelimit (from 5)
25+
- Fixed a bug where `UnexpectedError` did not work due to a typo.
826

927
## [2.3.13] - 8/29/19
1028
### Added

README.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ Brawl Stats
2020
:target: https://github.com/SharpBit/brawlstats/blob/master/LICENSE
2121
:alt: MIT License
2222

23-
- This library is a sync and async wrapper the unofficial `Brawl Stars API`_.
23+
- This library is a sync and async wrapper for https://brawlapi.cf (BrawlAPI) and the official Brawl Stars API.
2424
- Python 3.5.3 or later is required.
25-
- To keep up with API changes, discussions, and status, I recommend you join the API's `discord server`_.
2625

2726
Features
2827
~~~~~~~~
2928

30-
- Covers all of the API endpoints.
29+
- Covers all of the endpoints of both APIs.
3130
- Use the same client for sync and async usage.
32-
- Helper functions to access other game files such as maps and audio files.
31+
- Choose which API you want to use!
32+
- Access game constants such as maps, brawlers, and images.
3333
- Easy to use with an object oriented design.
3434

3535
Installation
@@ -54,40 +54,40 @@ Documentation is being hosted on `Read the Docs`_.
5454

5555
Examples
5656
~~~~~~~~
57-
Examples are in the `examples folder`_.
58-
57+
Examples are in the `examples folder`_. Within each folder, you will find:
5958
- ``sync.py`` shows you basic sync usage
6059
- ``async.py`` shows you basic async usage
61-
- ``discord_cog.py`` shows an example Discord Bot cog using `discord.py rewrite`_
60+
- ``discord_cog.py`` shows an example Discord Bot cog using `discord.py`_
6261

6362
Misc
6463
~~~~
6564

66-
- If you are currently using this wrapper, feel free to star this repository :)
65+
- If you are currently using this wrapper, please star this repository :)
6766
- If you come across an issue in the wrapper, please `create an issue`_. Do **not** PM me on Discord for help.
68-
- If you need an API Key, create one using the `dashboard`_.
67+
- If you need an API Key for BrawlAPI, create one using the `dashboard`_. If you need one for the official API, visit https://developer.brawlstars.com
68+
- To receive help for using the BrawlAPI, I recommend you join BrawlAPI's `discord server`_.
6969

7070
Contributing
7171
~~~~~~~~~~~~
7272
Special thanks to this project's contributors ❤️
7373

7474
- `4JR`_
75-
- `OrangutanGaming`_
76-
- `Stitch`_
7775
- `kjkui`_
7876
- `Kyber`_
7977
- `Pollen`_
78+
- `OrangutanGaming`_
79+
- `Stitch`_
8080

8181
If you want to contribute, whether it be a bug fix or new feature, make sure to follow the `contributing guidelines`_.
8282

83-
.. _Brawl Stars API: https://api.brawlapi.cf/v1
8483
.. _create an issue: https://github.com/SharpBit/brawlstats/issues
8584
.. _discord server: https://discord.me/BrawlAPI
8685
.. _Read the Docs: https://brawlstats.rtfd.io/
8786
.. _examples folder: https://github.com/SharpBit/brawlstats/tree/master/examples
88-
.. _discord.py rewrite: https://github.com/rapptz/discord.py/tree/rewrite
87+
.. _discord.py: https://github.com/rapptz/discord.py
8988
.. _contributing guidelines: https://github.com/SharpBit/brawlstats/blob/master/CONTRIBUTING.md
9089
.. _dashboard: https://brawlapi.cf/dashboard
90+
9191
.. _4JR: https://github.com/fourjr
9292
.. _OrangutanGaming: https://github.com/OrangutanGaming
9393
.. _Stitch: https://github.com/Soumil07

0 commit comments

Comments
 (0)