API V1.0
Error Codes
Operators API
/**
*
* @param type $record - record, JSON if called through WEBApi
* @return type
*/
create(record)
http://dev.api.playperfectscore.com:443/API/V1.0/operators/create.php?token=API_TOKEN&record={"name":"operator_name","properties":{"a":[1,2,3],"b":"c"}}
/**
*
* @param type $id
* @param type $record
* @return type
*/
update(id, record)
http://dev.api.playperfectscore.com:443/API/V1.0/operators/update.php?token=API_TOKEN&id=333334&record={"name":"name435435432","properties":{"a":[1,2,3],"b":"c"}}
/**
*
* @param type $id
*/
delete(id)
http://dev.api.playperfectscore.com:443/API/V1.0/operators/delete.php?token=API_TOKEN&id=333334
/**
*
* @param type $name
* @param type $skip_cache
* @return type
*/
getByName(name, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/operators/getByName.php?token=API_TOKEN&name=operator_name&skip_cache=true
/**
*
* @param type $id
* @param type $skip_cache
* @return type
*/
getById(id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/operators/getById.php?token=API_TOKEN&id=333333&skip_cache=true
/**
*
* @param type $skip_cache
* @return type
*/
getAll(skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/operators/getAll.php?token=API_TOKEN&skip_cache=true
TOP
Users API
/**
*
* @param type $record
* @return type
*/
create(record)
http://dev.api.playperfectscore.com:443/API/V1.0/users/create.php?token=API_TOKEN&record={"operator_id":100,"username":"new_test_user","password":"userpass","first_name":"first name new test user","last_name":"last name for new user","email":"new.user.email","first_name":"fname","last_name":"lname","phone":"1232456","is_active":true,"trusted":false,"is_app":false,"is_admin":false,"is_perfect_score":true,"properties":{"a":[1,2,3],"b":"c"}}
/**
*
* @param type $id
* @param type $record
* @return type
*/
update(id, record)
http://dev.api.playperfectscore.com:443/API/V1.0/users/update.php?token=API_TOKEN&id=111110&record={"operator_id":100,"username":"new_test_user","password":"userpass","first_name":"new%20test%20user","last_name":"last name for new user","email":"new.user.email","first_name":"fname1","last_name":"lname","phone":"1232456","is_active":true,"trusted":false,"is_app":false,"is_admin":false,"is_perfect_score":true,"properties":{"a":[1,2,3],"b":"c"}}
/**
*
* @param type $id
*/
delete(id)
http://dev.api.playperfectscore.com:443/API/V1.0/users/delete.php?token=API_TOKEN&&id=111114
/**
*
* @param type $username
* @param type $skip_cache
* @return type
*/
getByUserName(username, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/users/getByUserName.php?token=API_TOKEN&username=new_test_user&skip_cache=true
/**
*
* @param type $email
* @param type $skip_cache
* @return type
*/
getByEmail(email, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/users/getByEmail.php?token=API_TOKEN&email=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $id
* @param type $skip_cache
* @return type
*/
getById(id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/users/getById.php?token=API_TOKEN&id=111114&skip_cache=true
/**
*
* @param type $skip_cache
* @return type
*/
getAll(skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/users/getAll.php?token=API_TOKEN&skip_cache=true
/**
*
* @param type $operator_id
* @param type $skip_cache
* @return type
*/
getAllUsersByOperator(operator_id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/users/getAllUsersByOperator.php?token=API_TOKEN&operator_id=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $id
* @param type $old_password
* @param type $new_password
* @param type $new_password_repeated
* @return type
*/
changePassword(id, old_password, new_password, new_password_repeated)
http://dev.api.playperfectscore.com:443/API/V1.0/users/changePassword.php?token=API_TOKEN&id=111114&old_password=old_pass&new_password=newpass&new_password_repeated=newpass
/**
*
* @param type $id
* @param type $new_password
* @param type $new_password_repeated
* @return type
*/
changePasswordWithoutOldPassword(id, new_password, new_password_repeated)
http://dev.api.playperfectscore.com:443/API/V1.0/users/changePasswordWithoutOldPassword.php?token=API_TOKEN&id=XXXXXXX&new_password=XXXXXXX&new_password_repeated=XXXXXXX&
/**
*
* @param type $username_or_email
* @param type $password
* @param type $app_user_id
* @param type $http_session_data
* @param type $app_ip
* @param type $app_ip_v6
* @param type $user_ip
* @param type $user_ip_v6
* @return type
*
* If this method is called through WEBApi then only $username_or_email and $password paramaters are required
* The rest of paramenters will be filled by WEBapi itself
*
*/
authenticate(username_or_email, password, app_user_id, http_session_data, app_ip, app_ip_v6, user_ip, user_ip_v6)
http://dev.api.playperfectscore.com:443/API/V1.0/users/authenticate.php?token=API_TOKEN&&username_or_email=perfect_score&password=XXXXXXXX&user_ip=177.17.0.170
TOP
Fixtures API
/**
*
* @param type $id
* @return type
*/
getById(id)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getById.php?token=API_TOKEN&id=555555&skip_cache=true
/**
*
* @param type $competition
* @param type $home_team
* @param type $away_team
* @param type $kickoff_date
* @param type $skip_cache
* @return type
*/
getByCompetitionHomeAwayKickoff(competition, home_team, away_team, kickoff_date, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getByCompetitionHomeAwayKickoff.php?token=API_TOKEN&competition=England/Premier%20League&home_team=arsenal&away_team=Brentford&kickoff_date=2024-01-29%2014:00
/**
*
* @param type $record
* @return type
*/
create(record)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/create.php?token=API_TOKEN&record={"competition":"England/Championship","home_team":"Leeds","away_team":"Leicestar","kickoff_date":"2024-02-17%2016:00"}
/**
*
* @param type $id
* @param type $record
* @return type
*/
update(id, record)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/update.php?token=API_TOKEN&id=555555&record={"competition":"England/Championship","home_team":"Leeds","away_team":"Leicestar","kickoff_date":"2024-02-17%2011:00"}
/**
*
* @param type $id
* @return type
*/
delete(id)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/delete.php?token=API_TOKEN&id=555555
/**
*
* @param type $id
* @param type $kickoff_date
* @return type
*/
updateKickoffDate(id, kickoff_date)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateKickoffDate.php?token=API_TOKEN&id=555556&kickoff_date=2024-02-17%2019:00
/**
*
* @param type $id
* @param type $score
* @param type $goal_minutes
* @return type
*/
updateCurrentScoreAndGoalMinutes(id, score, goal_minutes)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateCurrentScoreAndGoalMinutes.php?token=API_TOKEN&id=XXXXXXX&score=XXXXXXX&goal_minutes=XXXXXXX&
/**
*
* @param type $id
* @param type $goal_minutes_descriptive
* @return type
*/
commitCurrentScoreAndGoalsFromMinutesDescriptive(id, goal_minutes_descriptive)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/commitCurrentScoreAndGoalsFromMinutesDescriptive.php?token=API_TOKEN&id=XXXXXXX&goal_minutes_descriptive=XXXXXXX&
/**
*
* @param type $supplier_fixtur_id
* @param type $score
* @param type $goal_minutes
* @return type
*/
updateCurrentScoreAndGoalMinutesFromSupplierFixtrueId(supplier_fixtur_id, score, goal_minutes)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateCurrentScoreAndGoalMinutesFromSupplierFixtrueId.php?token=API_TOKEN&supplier_fixtur_id=XXXXXXX&score=XXXXXXX&goal_minutes=XXXXXXX&
/**
*
* @param type $id
* @param type $period
* @param type $time
* @return type
*/
updateCurrentPeriodAndTime(id, period, time)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateCurrentPeriodAndTime.php?token=API_TOKEN&id=555565&period={"period":"HALF_1"}&time={"current_time":"90%2B8"}
/**
*
* @param type $supplier_fixtur_id
* @param type $period
* @param type $time
* @return type
*/
updateCurrentPeriodAndTimeFromSupplierFixtureId(supplier_fixtur_id, period, time)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateCurrentPeriodAndTimeFromSupplierFixtureId.php?token=API_TOKEN&supplier_fixtur_id=XXXXXXX&period=XXXXXXX&time=XXXXXXX&
/**
*
* @param type $id
* @param type $is_active
* @return type
*/
updateIsActive(id, is_active)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateIsActive.php?token=API_TOKEN&id=555565&&id=555565&is_active=1
/**
*
* @param type $id
* @param type $is_finished
* @return type
*/
updateIsFinished(id, is_finished)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateIsFinished.php?token=API_TOKEN&id=555565&is_finished=1
/**
*
* @param type $supplier_fixture_id
* @param type $is_finished
* @return type
*/
updateIsFinishedFromSupplierFixtureId(supplier_fixture_id, is_finished)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateIsFinishedFromSupplierFixtureId.php?token=API_TOKEN&supplier_fixture_id=XXXXXXX&is_finished=XXXXXXX&
/**
*
* @param type $id
* @param type $is_inplay
* @return type
*/
updateIsInplay(id, is_inplay)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateIsInplay.php?token=API_TOKEN&id=555565&is_inplay=1
/**
*
* @param type $supplier_fixture_id
* @param type $is_inplay
* @return type
*/
updateIsInplayFromSupplierFixtureId(supplier_fixture_id, is_inplay)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateIsInplayFromSupplierFixtureId.php?token=API_TOKEN&supplier_fixture_id=XXXXXXX&is_inplay=XXXXXXX&
/**
*
* @param type $id
* @param type $properties
* @return type
*/
updateProperties(id, properties)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateProperties.php?token=API_TOKEN&id=555565&properties={"prop1":127,"prop2":[1,3,5,7,"11"]}
/**
*
* @param type $id
* @param type $final_score
* @param type $final_goal_minutes
* @return type
*/
updateFinalScoreAandGoalMinutes(id, final_score, final_goal_minutes)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/updateFinalScoreAandGoalMinutes.php?token=API_TOKEN&id=555565&final_score={"home":3,"away":1}&final_goal_minutes=["11","45%2B2","70","73"]
/**
*
* @param type $days_old
* @return type
*/
deleteOldFixtures(days_old)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/deleteOldFixtures.php?token=API_TOKEN&days_old=30
/**
*
* @param type $skip_cache
* @return type
*/
getAvailableCompetitions(skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getAvailableCompetitions.php?token=API_TOKEN&skip_cache=1
/**
*
* @param type $skip_cache
* @return type
*/
getInplayFixtures(skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getInplayFixtures.php?token=API_TOKEN&skip_cache=1
/**
*
* @param type $from_day
* @param type $to_day
* @param type $competition
* @param type $skip_cache
* @return type
*/
getFixturesByDateRangeCompetition(from_day, to_day, competition, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getFixturesByDateRangeCompetition.php?token=API_TOKEN&from_day=2024-01-30&to_day=2024-02-19&comptition=England/Premier%20League&skip_cache=true
/**
*
* @param type $from_datetime
* @param type $to_datetime
* @param type $competition
* @param type $skip_cache
* @return type
*/
getFixturesByDateTimeRange(from_datetime, to_datetime, competition, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getFixturesByDateTimeRange.php?token=API_TOKEN&from_datetime=XXXXXXX&to_datetime=XXXXXXX&competition=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $id
* @param type $skip_cache
* @return type
*/
getCurrentAndFinalScoreAndGoalMinutes(id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getCurrentAndFinalScoreAndGoalMinutes.php?token=API_TOKEN&id=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $id
* @param type $skip_cache
* @return type
*/
getCurrentScoreAndGoalMinutes(id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getCurrentScoreAndGoalMinutes.php?token=API_TOKEN&id=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $id
* @param type $skip_cache
* @return type
*/
getFinalScoreAndGoalMinutes(id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/fixtures/getFinalScoreAndGoalMinutes.php?token=API_TOKEN&id=XXXXXXX&skip_cache=XXXXXXX&
TOP
Currencies API
/**
*
* @param type $skip_cache
* @return type
*/
getAllExchangeRates(skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/currencies/getAllExchangeRates.php?token=API_TOKEN&skip_cache=1
/**
*
* @param type $from_currency
* @param type $to_currency
* @param type $rate
* @return type
*/
setExchangeRate(from_currency, to_currency, rate)
http://dev.api.playperfectscore.com:443/API/V1.0/currencies/setExchangeRate.php?token=API_TOKEN&from_currency=XXXXXXX&to_currency=XXXXXXX&rate=XXXXXXX&
/**
*
* @param type $skip_cache
* @return type
*/
getAll(skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/currencies/getAll.php?token=API_TOKEN&skip_cache=XXXXXXX&
TOP
Pools API
/**
*
* @param type $record - record, JSON if called through WEBApi
* @return type
*/
create(record)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/create.php?token=API_TOKEN&record={"name":"pool name","operator_id":100,"is_active":true,"initial_seed": 2000, "main_currency":"USD","bet_contribution_percent":45 ,"currency_stakes":{"USD":1, "EUR":1,"MWK":2400},"main_currency_default_stake":2, "properties":{"a":[1,2,3],"b":"c"}}
/**
*
* @param type $id
*/
delete(id)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/delete.php?token=API_TOKEN&id=XXXXXXX&
/**
*
* @param type $id
* @param type $skip_cache
* @return type
*/
getById(id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/getById.php?token=API_TOKEN&id=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $skip_cache
* @return type
*/
getAll(skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/getAll.php?token=API_TOKEN&skip_cache=XXXXXXX&
/**
*
* @param type $operator_id
* @param type $skip_cache
* @return type
*/
getOperatorPools(operator_id, skip_cache=1)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/getOperatorPools.php?token=API_TOKEN&operator_id=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $id
* @param type $record
* @return type
*/
update(id, record)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/update.php?token=API_TOKEN&record={"name":"pool name","is_active":true,"initial_seed": 2000, "main_currency":"USD","bet_contribution_percent":45 ,"currency_stakes":{"USD":1, "EUR":1,"MWK":2400},"main_currency_default_stake":2, "properties":{"a":[1,2,3],"b":"c"}}
/**
*
* @param type $id
* @param type $percent
* @return type
*/
updateBetContributionPercent(id, percent)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/updateBetContributionPercent.php?token=API_TOKEN&id=XXXXXXX&percent=XXXXXXX&
/**
*
* @param type $id
* @param type $is_active
* @return type
*/
updateIsActive(id, is_active)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/updateIsActive.php?token=API_TOKEN&id=XXXXXXX&is_active=XXXXXXX&
/**
*
* @param type $id
* @param type $properties
* @return type
*/
updateProperties(id, properties)
http://dev.api.playperfectscore.com:443/API/V1.0/pools/updateProperties.php?token=API_TOKEN&id=XXXXXXX&properties=XXXXXXX&
TOP
Games API
/**
*
* @param type $record - record, JSON if called through WEBApi
* @return type
*/
create(record)
http://dev.api.playperfectscore.com:443/API/V1.0/games/create.php?token=API_TOKEN&record={"pool_id":"2222","is_active":true,"start_date":"2024-05-01","end_date":"2024-05-07","fixtures":[555837,555838,555839,555845],"reserve_fixtures":[555851,555852,555853,555855],"properties":{"a":[1,2,3],"b":"c"}}
/**
*
* @param type $id
* @return type
*/
getById(id)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getById.php?token=API_TOKEN&id=2271117&skip_cache=true
/**
*
* @param type $id
* @return type
*/
delete(id)
http://dev.api.playperfectscore.com:443/API/V1.0/games/delete.php?token=API_TOKEN&id=XXXXXXX&
/**
*
* @param type $id
* @param type $start_date
* @param type $end_date
* @return type
*/
updateStartEndDates(id, start_date, end_date)
http://dev.api.playperfectscore.com:443/API/V1.0/games/updateStartEndDates.php?token=API_TOKEN&id=2271117&start_date=2024-05-17&end_date=2024-05-27
/**
*
* @param type $id
* @param type $is_active
* @return type
*/
updateIsActive(id, is_active)
http://dev.api.playperfectscore.com:443/API/V1.0/games/updateIsActive.php?token=API_TOKEN&id=XXXXXXX&is_active=XXXXXXX&
/**
*
* @param type $id
* @param type $percent
* @return type
*/
updateBetContributionPercent(id, percent)
http://dev.api.playperfectscore.com:443/API/V1.0/games/updateBetContributionPercent.php?token=API_TOKEN&id=XXXXXXX&percent=XXXXXXX&
/**
*
* @param type $id
* @param type $properties
* @return type
*/
updateProperties(id, properties)
http://dev.api.playperfectscore.com:443/API/V1.0/games/updateProperties.php?token=API_TOKEN&id=XXXXXXX&properties=XXXXXXX&
/**
*
* @param type $id
* @param type $fixtures
* @param type $reserve_fixtures
* @return type
*/
updateFixtures(id, fixtures, reserve_fixtures)
http://dev.api.playperfectscore.com:443/API/V1.0/games/updateFixtures.php?token=API_TOKEN&id=2271117&fixtures=[555833,555834,555835,555845]&reserve_fixtures=[555850,555852,555853,555855]
/**
*
* @param type $pool_id
* @param type $end_date
* @param type $skip_cache
* @return type
*
* If end_date is omitted then all active games will be returned. If end_date is set it will only return games that end before end_date param
*/
getActivePoolGames(pool_id, end_date, skip_cache)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getActivePoolGames.php?token=API_TOKEN&pool_id=2222&end_date=2024-05-20&skip_cache=0
/**
*
* @param type $skip_cache
* @return type
*/
getAllGames(skip_cache)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getAllGames.php?token=API_TOKEN&skip_cache=0
/**
*
* @param type $operator_id
* @param type $skip_cache
* @return type
*/
getAllGamesByOperator(operator_id, skip_cache)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getAllGamesByOperator.php?token=API_TOKEN&operator_id=XXXXXXX&skip_cache=XXXXXXX&
/**
*
* @param type $skip_cache
* @return type
*/
getAllActiveGames(skip_cache)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getAllActiveGames.php?token=API_TOKEN&skip_cache=XXXXXXX&
/**
*
* @param type $pool_id
* @param type $skip_cache
* @return type
*/
getAllPoolGames(pool_id, skip_cache)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getAllPoolGames.php?token=API_TOKEN&pool_id=2222&skip_cache=0
/**
*
* @param type $operator_id
* @param type $end_date
* @param type $skip_cache
* @return type
*
* If end_date is omitted then all active games will be returned. If end_date is set it will only return games that end before end_date param
*/
getActiveOperatorGames(operator_id, end_date, skip_cache)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getActiveOperatorGames.php?token=API_TOKEN&operator_id=100&end_date=2024-05-20&skip_cache=0
/**
*
* @param type $operator_id
* @return type
*/
getUnresultedGames(operator_id)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getUnresultedGames.php?token=API_TOKEN&operator_id=XXXXXXX&
/**
*
* @param type $operator_id
* @return type
*/
getResultedGames(operator_id)
http://dev.api.playperfectscore.com:443/API/V1.0/games/getResultedGames.php?token=API_TOKEN&operator_id=XXXXXXX&
/**
*
* @param type $game_id
* @return type
*/
resultGame(game_id)
http://dev.api.playperfectscore.com:443/API/V1.0/games/resultGame.php?token=API_TOKEN&game_id=XXXXXXX&
TOP
Players API
TOP
Bets API
/**
*
* @param type $player_id
* @param type $operator_id
* @param type $game_id
* @param type $from_day
* @param type $to_day
* @param type $from_time
* @param type $to_time
* @param type $orderby
* @param type $page_size
* @param type $page_num
* @return type
*/
getBetList(player_id, operator_id, game_id, from_day, to_day, from_time, to_time, orderby, page_size, page_num)
http://dev.api.playperfectscore.com:443/API/V1.0/bets/getBetList.php?token=API_TOKEN&player_id=XXXXXXX&operator_id=XXXXXXX&game_id=XXXXXXX&from_day=XXXXXXX&to_day=XXXXXXX&from_time=XXXXXXX&to_time=XXXXXXX&orderby=XXXXXXX&page_size=XXXXXXX&page_num=XXXXXXX&
TOP
Front End API
/**
*
* @param type $bet_lines
* @param type $game_id
* @param type $player_id
* @param type $player_ip
* @return type
*/
placeBet(bet_lines, game_id, player_id, player_ip)
http://dev.api.playperfectscore.com:443/API/V1.0/frontend/placeBet.php?token=API_TOKEN&bet_lines=[[22,17,19,89,"90%2B1","90%2B2"],[33,17,45,66,77,"90%2B3"],[33,17,"45%2B1",45,77,"90%2B3"],[49,"90%2B4",17,41,45,77]]&game_id=2226&player_id=PLAYER_1&stake=333&player_ip=44.88.11.22
/**
*
* @param type $player_id
* @param type $operator_id
* @param type $currency
* @param type $player_ip
* @param type $language
* @param type $time_zone
* @return type
*/
playerLogin(player_id, operator_id, currency, player_ip, language, time_zone)
http://dev.api.playperfectscore.com:443/API/V1.0/frontend/playerLogin.php?token=API_TOKEN&player_id=PLAYER_1&operator_id=333341¤cy=MWK&player_ip=133.11.34.189&language=en-US&time_zone=America/New_York
/**
*
* @param type $player_id
* @return type
*/
getPlayerGames(player_id)
http://dev.api.playperfectscore.com:443/API/V1.0/frontend/getPlayerGames.php?token=API_TOKEN&player_id=XXXXXXX&
/**
*
* @param type $player_id
* @return type
*/
getPlayerBetHistoryGames(player_id)
http://dev.api.playperfectscore.com:443/API/V1.0/frontend/getPlayerBetHistoryGames.php?token=API_TOKEN&player_id=XXXXXXX&
/**
*
* @param type $player_id
* @param type $game_id
* @return type
*/
getPlayerBetHistoryGameBets(player_id, game_id)
http://dev.api.playperfectscore.com:443/API/V1.0/frontend/getPlayerBetHistoryGameBets.php?token=API_TOKEN&player_id=XXXXXXX&game_id=XXXXXXX&
/**
*
* @return type
*/
getInplayFixtures()
http://dev.api.playperfectscore.com:443/API/V1.0/frontend/getInplayFixtures.php?token=API_TOKEN&
/**
*
* @param type $game_id
* @return type
*/
getGame(game_id)
http://dev.api.playperfectscore.com:443/API/V1.0/frontend/getGame.php?token=API_TOKEN&game_id=XXXXXXX&
TOP
CMS API
/**
*
* @param type $operator_id
* @param type $content_id
* @param type $lang
* @return type
*/
getContent(operator_id, content_id, lang)
http://dev.api.playperfectscore.com:443/API/V1.0/cms/getContent.php?token=API_TOKEN&operator_id=XXXXXXX&content_id=XXXXXXX&lang=XXXXXXX&
/**
*
* @param type $operator_id
* @param type $content_id
* @param type $lang
* @param type $value
* @return type
*/
setContent(operator_id, content_id, lang, value)
http://dev.api.playperfectscore.com:443/API/V1.0/cms/setContent.php?token=API_TOKEN&operator_id=XXXXXXX&content_id=XXXXXXX&lang=XXXXXXX&value=XXXXXXX&
TOP