Method: PlayStationNetworkAPI::Trophy#get_communication_id

Defined in:
lib/play_station_network_api/trophy.rb

#get_communication_id(title_ids = []) ⇒ Object

title_ids Array[]



90
91
92
93
94
95
96
97
98
99
# File 'lib/play_station_network_api/trophy.rb', line 90

def get_communication_id(title_ids = [])
  # https://gb-tpy.np.community.playstation.net/trophy/v1/apps/trophyTitles?npTitleIds=CUSA15010_00,CUSA20046_00,CUSA24894_00,CUSA24269_00,CUSA24267_00
  get('/trophy/v1/apps/trophyTitles',
    base_uri: 'https://gb-tpy.np.community.playstation.net',
    query: {
      npTitleIds: title_ids.join(',')
    },
    
  ).parsed_response
end