p.searchQuery no effect on getMarkets()
See original GitHub issueCurrent documentation states:
p.searchQuery (string) <optional> Query string used to determine which Markets are returned by augur.markets.getMarkets. This string is used to search across Market IDs, questions, categories, tags, resolution sources, and scalar donominations.
However I am not able to filter results of getMarkets()
with any implementation of the searchQuery
string field. Code is as follows:
augur.markets.getMarkets({
universe: universe,
searchQuery: 'eth'
}, (error, marketIds) => {
console.log(marketIds) // all 1200+ IDs
});
Is this a misunderstanding of what the searchQuery
field does or is there an issue here? Currently there is no simple way of filtering by multiple tags or categories without multiple calls to the API.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Print Preview - C:\Temp\e3temp_4564\.aptcache\tcpi/tfa04564
be expressly permitted in your license agreement for these Programs, no part of ... Java: boolean getEditHistoryItems(), void ... Java: String getMarket().
Read more >API Documentation - Stockpulse
Welcome to the reference for the Stockpulse REST API v5. REST is a web-service protocol that lends itself to rapid development by using...
Read more >wordlist_no_underscores.txt - Index of /
... selfupdate quicklinks radii-adapter no-image boardconfig bezierbeauty cal ... r75 phoneformatter department-of-defense-military o2info p-common kabali ...
Read more >VINILOS PARA COCINAS
Most commonplace ISO steel delivery containers are made from heavy gauge steel and are inconceivable to break into, except you have an electric...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@SirLancelot-OG Yes, the parameter name should be
search
, notsearchQuery
. This has been corrected in the docs, and I’ve added some more info on the syntax for search queries. Apologies for the confusion.https://github.com/AugurProject/augur-node/blob/master/src/server/getters/get-markets.ts
I was looking at augur-node code.