V2 Design #88
Replies: 4 comments 3 replies
-
For location you add e.g.: "geoFilter":{"storedShapeIds":["4090"],"geoSearchType":"STORED_SHAPES"} To get the id, the dictionary is embedded in the page source (!), The question would be its practical use, if the location id dict is integrated with class, then how does a user query since the user would need to select say from an enum. Maybe we let the user do |
Beta Was this translation helpful? Give feedback.
-
Also I really like the simplicity of this approach as compared to e.g. trying to parse things together to form a URL |
Beta Was this translation helpful? Give feedback.
-
Can keep this as a reference and edit as necessary Parameters:
|
Beta Was this translation helpful? Give feedback.
-
Here is bare-bones outline for search class. |
Beta Was this translation helpful? Give feedback.
-
I have been looking into how the internal Daft API works and how we can filter data using a JSON payload. I've figured out most things except how to filter by location. This is an example class:
What I was thinking is that the Daft class would be responsible for building the JSON payload based on what the user sets which is similar to how this library worked previously except no scraping would be necessary.
Still a little unsure so open to suggestions on ways to approach this.
Beta Was this translation helpful? Give feedback.
All reactions