

from recombee_api_client.api_client import RecombeeClient
from recombee_api_client.api_requests import *
import json
import sys

client = RecombeeClient('illinois-institue-of-tech-dev', '<KEY>')

#client = RecombeeClient('iitchicago-test4', '<KEY>')
sportevent =sys.argv[1];

result = client.send(ListItems(  filter="'generName' == \"{}\"  AND 'eventDate' >= now()".format(sportevent),
  count=10, offset=1,
  return_properties= True
  
)
)

print(result);




    








from recombee_api_client.api_client import RecombeeClient
from recombee_api_client.api_requests import *
import json
import sys

client = RecombeeClient('illinois-institue-of-tech-dev', '<KEY>')

#client = RecombeeClient('iitchicago-test4', '<KEY>')
sportevent =sys.argv[1];

result = client.send(ListItems(  filter="'generName' == \"{}\"  AND 'eventDate' >= now()".format(sportevent),
  count=10, offset=1,
  return_properties= True
  
)
)

print(result);




    






#client = RecombeeClient('iitchicago-test4', '<KEY>')