This repository was archived by the owner on Dec 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,21 @@ Login with your sso token
50
50
51
51
api.login(' Your sso token' )
52
52
53
- You sso token can be found by longing in at [ callofduty](https://my.callofduty.com/) , opening dev tools (ctr+shift+I),
53
+ You sso token can be found by longing in at ` callofduty `_ , opening dev tools (ctr+shift+I),
54
54
going to Applications > Storage > Cookies > <span>https</span>://callofduty.com, filter to search 'ACT_SSO_COOKIE' and
55
55
copy the value
56
- <br><br>
57
- #### Retrieving game profile
56
+
57
+ .._callofduty: https://my.callofduty.com/
58
+
59
+ Retrieving game profile
60
+ -----------------------
58
61
A player's game profile can be retrieved by using API sub game classes with its function fullData(platform, gamertag)
59
62
60
- *Example *
63
+ *Example *:
64
+
65
+ .. code-block :: python
61
66
62
- profileData = api.ModernWarfare.fullData(platforms.Battlenet, "Username#1234")
67
+ profileData = api.ModernWarfare.fullData(platforms.Battlenet, " Username#1234" )
63
68
64
69
*Output * > json
65
70
@@ -68,8 +73,10 @@ Retrieving combat history
68
73
A player's game profile can be retrieved by using API sub game classes with its functions combatHistory(platform, gamertag) or
69
74
combatHistoryWithDate(platform, gamertag, start, end)
70
75
71
- *Example *
76
+ *Example *:
77
+
78
+ .. code-block :: python
72
79
73
- matchHistory = api.Warzone.combatHistory(platforms.Activision, "Username#123456")
80
+ matchHistory = api.Warzone.combatHistory(platforms.Activision, " Username#123456" )
74
81
75
82
*Output * > json
You can’t perform that action at this time.
0 commit comments