API: Search profiles - ninetwozero/BF3-Battlelog GitHub Wiki
Url
http://battlelog.battlefield.com/bf3/search/getMatches/ (Constants.URL_PROFILE_SEARCH)
Headers
X-Requested-With => XMLHttpRequest
Post data
post-check-sum => {checksum for the user}
username => {username to search for}
Response (username => 123)##
{
"data": {
"matches": [
{
"userId": "2832665149467488006",
"username": "123-40RU"
},
{
"userId": "2832659177497335335",
"username": "123-543-876"
},
{
"userId": "2832659177380533929",
"username": "123-Dilemma"
},
{
"userId": "2832658801595239696",
"username": "123-do"
},
{
"userId": "2832659982762536020",
"username": "123-Dr-Death-"
}
]
},
"message": "MATCHES",
"type": "success"
}