Callofduty.py

Latest version: v1.4.0

Safety actively analyzes 623936 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.4.0

Added

- Support for Call of Duty: Vanguard
- Available in the `Title` Enum

Changed

- Upgraded all dependencies

This will likely be the final release of [EthanC/CallofDuty.py](https://github.com/EthanC/CallofDuty.py).

1.3.0

Added

- Allow authentication using an Activision Single Sign-On (SSO) cookie value
- Simply provide the `sso` keyword argument to `callofduty.Login()`, omitting the email and password credentials. Assistance in obtaining an SSO cookie value will not be provided.

Changed

- Login failures will now return more useful exceptions
- Upgraded all dependencies

Fixed

- (Workaround) The API authorization flow has changed once again (68)
- Authorization using an email and password is not publicly available at this time. The aforementioned SSO method is to be used until further notice.
- Blog category value is now nullable

1.2.2

Added

- Black Ops Cold War functionality
- Available in the `Title` Enum
- Full Match functionality with `GetFullMatch()`
- Allows for Warzone match details

1.2.1

Added

- Warzone functionality (18)
- Available in the `Mode` Enum, intended to be used alongside the `ModernWarfare` `Title`.
- Squads Tournament functionality (15)
- `GetSquadsTournament()`

Fixed

- Fixed an issue caused by inconsistent content types being returned by the API (30)
- Improved various response types

1.2.0

Added
- Activision friend management functionality (7)
- `AddFriend()` / `Player.addFriend()`
- `RemoveFriend()` / `Player.removeFriend()`
- `BlockPlayer()` `/ `Player.block()`
- `UnblockPlayer()` / `Player.unblock()`
- `AddFavorite()` / `Player.addFavorite()`
- `RemoveFavorite()` / `Player.removeFavorite()`
- `GetMyFavorites()`
- Squad reporting functionality
- `ReportSquad()` / `Squad.report()`
- Video feed functionality
- `GetVideoFeed()`
- Friend Feed Reaction functionality
- `SetFeedReaction()` / `FeedItem.react()`
- `RemoveFeedReaction()` / `FeedItem.unreact()`
- Friend Feed Favoriting functionality
- `SetFeedFavorite()` / `FeedItem.favorite()`
- `RemoveFeedFavorite()` / `FeedItem.unfavorite()`

Changed
- Blog posts returned from `GetNewsFeed()` are now object-oriented with easier to access data points, see the `Blog` class for details
- Feed items returned from `GetFriendFeed()` are now object-oriented with some pretty great functionality, such as `FeedItem.Match`, see the `FeedItem` class for details


Fixed
- Fixed issue preventing text responses from being returned
- Legacy endpoints will now return detailed exceptions

1.1.0

Added

- Added partial Create-a-Class functionality to the `Client` and `Player` classes
- `GetPlayerLoadouts()`
- `GetPlayerLoadoutUnlocks()`
- Added Authenticity Stamp functionality to the `Client` and `Player` classes
- `GetAuthenticityStamp()`

Changed

- `GetMatchTeams()` is now properly type annotated

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.