Description
Search the database for a particular watch or a list of watches.
This search entry point searches by brand name, family name, watch name and reference number.
This is a “whole words” search method, so that is provides you with focused, exact search results. It does not match on partial words.
TIP: Use the Search Refnr entry point to search by partial reference numbers.
URL
https://api.watchbase.com/v1/search
Parameters
key | Your WatchBase API Key |
format | (optional) Possible values: xml, json. Defaults to: xml |
q | Search keywords (URL-encoded) |
Output
List of matching watches.
Example API Call
Click to see the output:
https://api.watchbase.com/v1/search?q=priors+court&key=B4PMCSMEXeGo1c0Lpk5HmEQw2bKhSqaIwzhuJ9cy
Example output
<?xml version="1.0" encoding="UTF-8"?>
<response>
<num_results>1</num_results>
<watches>
<watch>
<id>13747</id>
<refnr>P31-Priors-Court</refnr>
<name>P3-1 Priors Court</name>
<brand>
<id>37</id>
<name>SevenFriday</name>
</brand>
<family>
<id>234</id>
<name>P-Series</name>
</family>
<thumb>http://cdn.watchbase.com/watch/medium/sevenfriday/p-series/p31-priors-court-23.jpg</thumb>
<updated>2015-08-08</updated>
</watch>
</watches>
</response>
Need more help with this?
Don’t hesitate to contact us here.