hi,
how can i build the query string of search api for card? with multiple filter, like card name, archived status, etc.
querystring = 'name:cardname is:open and is:archived' ? but not work.
Henry
Have you tried URL-encoding the parameters?
GET 1/search?query=name:%22cardname%22%20is:open%20is:archived
actually i'm not using url encoding, i'm using the following
querystring = {}
querystring['query'] = 'name:{0} is:{1}'.format(cardName,status)
response = requests.request('GET',url,params=querystring)
seems it works now. thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.