diff --git a/curl_userInfo.ps1 b/curl_userInfo.ps1 index cb9f6af..8d527c6 100644 --- a/curl_userInfo.ps1 +++ b/curl_userInfo.ps1 @@ -1,13 +1,7 @@ -# Set your default values here -$PROF = "Ahrimdon%231597" # The % replaces the # for the Activision ID (e.g. Ahrimdon%231597) -# You do not need numbers for PSN or XBL -# Delete $PROF when getting maps and game modes. -$COOKIE_VALUE = "ACCT_SSO_COOKIE" +$COOKIE_VALUE = "MTk1NjgyNzA6MTcwNDcwMjA5NDE3Mjo5MDg4N2NmYjY0NjBmN2ZiYmYyNDMxMGJiNzdjYWZiMQ" -$URL = "AddLinkHere" +$URL = "https://profile.callofduty.com/cod/userInfo/$COOKIE_VALUE" $USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" -$OUTPUT_FILE = "stats.json" +$OUTPUT_FILE = "userInfo.json" -curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE - -# Replace \ No newline at end of file +curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "Cookie: ACT_SSO_EVENT=LOGIN_SUCCESS:1703492494179" -H "Cookie: XSRF-TOKEN:x_Pb47Lt1r4KfX5wQrYAO5moyfPKKeDT0cZ99tMBHpLpTIlVRrwTYlyMRR1AKE--" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE \ No newline at end of file diff --git a/depricated_dev_scripts/curl/curl_links.txt b/depricated_dev_scripts/curl/curl_links.txt index f822ea4..575c644 100644 --- a/depricated_dev_scripts/curl/curl_links.txt +++ b/depricated_dev_scripts/curl/curl_links.txt @@ -7,20 +7,19 @@ https://my.callofduty.com/api/papi-client/stats/cod/v1/title/mw/platform/psn/gam # Get Stats Using Xbox Live https://my.callofduty.com/api/papi-client/stats/cod/v1/title/mw/platform/xbl/gamer/$PROF/profile/type/mp ---- - # Get Recent Games https://my.callofduty.com/api/papi-client/crm/cod/v2/title/mw/platform/battle/gamer/$PROF/matches/mp/start/0/end/0/details # Get Maps & Game Modes (No $PROF Variable Needed) https://my.callofduty.com/api/papi-client/ce/v1/title/mw/platform/battle/gameType/mp/communityMapData/availability - # Get friendFeedEvents https://my.callofduty.com/api/papi-client/userfeed/v1/friendFeed/platform/battle/gamer/$PROF/friendFeedEvents/en +# Get eventFeed https://my.callofduty.com/api/papi-client/userfeed/v1/friendFeed/rendered/en/{acct_sso_token} +# Get CP https://my.callofduty.com/api/papi-client/inventory/v1/title/mw/platform/battle/gamer/$PROF/currency https://my.callofduty.com/api/papi-client/crm/cod/v2/accounts/platform/battle/gamer/$PROF/ diff --git a/depricated_dev_scripts/curl/get_stats_curl.ps1 b/depricated_dev_scripts/curl/get_stats_curl.ps1 index c4735eb..164494a 100644 --- a/depricated_dev_scripts/curl/get_stats_curl.ps1 +++ b/depricated_dev_scripts/curl/get_stats_curl.ps1 @@ -8,6 +8,4 @@ $URL = "AddLinkHere" $USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" $OUTPUT_FILE = "stats.json" -curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE - -# Replace \ No newline at end of file +curl -v $URL -H "Cookie: ACT_SSO_COOKIE=$COOKIE_VALUE" -H "User-Agent: $USER_AGENT" -o $OUTPUT_FILE \ No newline at end of file