Publish google_shopping tool and request guide
Browse filesFiles changed (10)
- LICENSEAdded+21
- README.md+76-5
- app.jsAdded+75
- example.jsonAdded+467
- index.html+20-17
- input-schema.jsonAdded+119
- requirements.txtAdded+2
- style.css+1-28
- task.jsonAdded+23
- tool.pyAdded+36
123456789101112131415161718192021MIT License
Copyright (c) 2026 FlashData contributors
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.123456789101112---title: Google Shopping Shortlist Flashdataemoji: 📉colorFrom: pinkcolorTo: indigosdk: staticpinned: falselicense: mitshort_description: Google Shopping product shortlist---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283---title: "Google Shopping product shortlist"emoji: 🔎colorFrom: bluecolorTo: indigosdk: staticapp_file: index.htmlpinned: falselicense: mittags:- smolagents- tool- flashdata- google-shopping---# Google Shopping product shortlist — FlashDataGive a purchasing assistant a dated product shortlist. Retrieve product titles, merchant links and displayed prices for a specific query, then compare suitable listings with the buyer's requirements.**Try this task:** Shortlist USB-C monitors for a home office purchasing brief.[FlashData google shopping documentation](https://flashdata.dev/docs/sources/google_shopping?utm_source=hugging-face&utm_medium=integration&utm_campaign=intent_gtm_2026q4&utm_content=google-shopping-shortlist-flashdata) · [Create a FlashData account](https://flashdata.dev/signup)## Run itOpen the Space to edit a request and inspect a documentation response sample. The interactive page runs locally in your browser; it does not send a FlashData query or collect an API key. The Python tool runs in your own process.Use Python 3.10 or newer. Install the pinned dependencies:```shpython -m pip install "smolagents==1.26.0" "langchain-flashdata==0.2.1"```Create an API key in the FlashData console, fund the required credits, and supply the key in your local environment. Review `tool.py` before enabling remote code execution.```pythonimport getpassimport osfrom smolagents import load_toolos.environ["FLASHDATA_API_KEY"] = getpass.getpass("FlashData API key: ")tool = load_tool("flashdata-dev/google-shopping-shortlist-flashdata", trust_remote_code=True)result = tool(**{'gl': 'us', 'num': 10, 'query': '27 inch USB C monitor'})print(result)```This is a native smolagents Tool with typed task inputs. Add the loaded tool to your own agent; model choice, prompts and model fees remain under your control. Direct calls above do not need a model.## Inputs| Parameter | Type | Required / default | Details || --- | --- | --- | --- || `query` | string | Required | Search query, between 1 and 2,000 characters. || `num` | integer | None | Requested result count. minimum=1, maximum=100 || `page` | integer | None | Search result page. minimum=1, maximum=100 || `autocorrect` | boolean | None | Enable spelling autocorrection. || `gl` | string | None | Two-letter country code, for example us. pattern=^[A-Za-z]{2}$ || `hl` | string | None | Interface language code, for example en. pattern=^[A-Za-z0-9-]{1,35}$ || `location` | string | None | Optional geographic search location. || `tbs` | string | None | Optional Google time filter, for example qdr:w. |Optional `None` values are omitted; the documented adapter defaults apply.Full validation rules are in `input-schema.json`.## Output and next stepThe useful data is at `results.0.shopping`. Relevant fields: `title`, `source`, `price`, `link`, `rating`.Preserve the query time and merchant URL, then verify availability and final checkout price on the merchant site.The Space includes a recorded documentation example and its original request. It is not a fresh result for the task prompt above. Optional fields may be absent.## Costs, limits and failuresDisplayed prices are a search snapshot. Stock, delivery charges, final prices and currency comparability are not guaranteed.The tool is MIT licensed. It is free to install. **FlashData API calls are paid**; installation does not include free data queries. Check current [FlashData pricing](https://flashdata.dev/pricing) and your console balance. Platform, model and customer storage charges are separate. Each search/page is a separate request; Extended Search has its own rate. Downloads are charged by delivered data volume.An uncertain timeout can still represent a charged request. Check Jobs in the FlashData console before trying again; this integration does not automatically retry paid submissions. A 401 means the key was rejected, 402 means insufficient credits, and 429 means a rate or quota limit.[Get started with this FlashData capability](https://flashdata.dev/docs/sources/google_shopping?utm_source=hugging-face&utm_medium=integration&utm_campaign=intent_gtm_2026q4&utm_content=google-shopping-shortlist-flashdata)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475const byId = id => document.getElementById(id);const pythonLiteral = value => { if (value === null) return 'None'; if (typeof value === 'boolean') return value ? 'True' : 'False'; if (Array.isArray(value)) return `[${value.map(pythonLiteral).join(', ')}]`; if (typeof value === 'object') return `{${Object.entries(value).map(([k,v]) => `${JSON.stringify(k)}: ${pythonLiteral(v)}`).join(', ')}}`; return JSON.stringify(value);};
const [task, example, schema] = await Promise.all(['task.json','example.json','input-schema.json'].map(async file => { const response = await fetch(file); if (!response.ok) throw new Error(`Unable to load ${file}`); return response.json();}));
document.title = task.title;for (const key of ['title','scenario','task','next','limit']) byId(key).textContent = task[key];byId('docs').href = `https://flashdata.dev/docs/sources/${task.source}?utm_source=hugging-face&utm_medium=integration&utm_campaign=intent_gtm_2026q4&utm_content=${task.slug}`;byId('source').href = `https://huggingface.co/spaces/${task.repo_id}/blob/main/tool.py`;byId('readme').href = `https://huggingface.co/spaces/${task.repo_id}/blob/main/README.md`;byId('parameters').value = JSON.stringify(task.input,null,2);byId('response').value = JSON.stringify(example.response,null,2);byId('sample-request').textContent = JSON.stringify(example.request,null,2);
function generate() { try { const args = JSON.parse(byId('parameters').value); if (!args || Array.isArray(args) || typeof args !== 'object') throw new Error('Enter a JSON object.'); const allowed = task.source === 'youtube_download' ? ['operation','parameters','job_id'] : Object.keys(schema.properties); if (Object.keys(args).some(key => !allowed.includes(key))) throw new Error('Use only the documented inputs; keep credentials in your local environment.'); const code = [ '# Install: python -m pip install smolagents==1.26.0 langchain-flashdata==0.2.1', 'import getpass', 'import os', 'from smolagents import load_tool', '', 'os.environ["FLASHDATA_API_KEY"] = getpass.getpass("FlashData API key: ")', ...(task.source === 'youtube_download' && args.operation === 'submit' ? ['os.environ["FLASHDATA_DOWNLOAD_STORAGE"] = getpass.getpass("Customer storage JSON: ")'] : []), `tool = load_tool(${JSON.stringify(task.repo_id)}, trust_remote_code=True)`, `result = tool(**${pythonLiteral(args)})`, 'print(result)' ]; byId('python').textContent = code.join('\n'); byId('input-status').textContent = 'Python call generated. The tool validates full parameter constraints before a request.'; } catch (error) { byId('python').textContent = ''; byId('input-status').textContent = error.message; }}
function inspect() { byId('results').replaceChildren(); try { const response = JSON.parse(byId('response').value); const selected = task.path.split('.').reduce((value, key) => value?.[key], response); if (selected === undefined || selected === null) throw new Error(`No value at ${task.path}. Check the response format; failed or pending requests may have different fields.`); const rows = Array.isArray(selected) ? selected : [selected]; byId('response-status').textContent = `${rows.length} item(s) at ${task.path}. Showing up to 10.`; for (const row of rows.slice(0,10)) { const card = document.createElement('div'); card.className = 'result'; const fields = typeof row === 'object' && row !== null ? task.fields.filter(key => Object.hasOwn(row,key)) : []; if (!fields.length) { const p=document.createElement('p'); p.className='field'; p.textContent=typeof row === 'string' ? row : JSON.stringify(row); card.append(p); } for (const key of fields) { const line=document.createElement('p'); line.className='field'; const label=document.createElement('b'); label.textContent=key+': '; line.append(label); const value=row[key]; if (typeof value === 'string' && /^https?:\/\//.test(value)) { const link=document.createElement('a'); link.href=value; link.textContent=value; link.target='_blank'; link.rel='noopener noreferrer'; line.append(link); } else line.append(document.createTextNode(typeof value === 'object' ? JSON.stringify(value) : String(value))); card.append(line); } byId('results').append(card); } } catch (error) { byId('response-status').textContent=error.message; }}
byId('generate').addEventListener('click',generate);byId('inspect').addEventListener('click',inspect);generate(); inspect();123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467{ "request": { "source": "google_shopping", "query": "mechanical keyboard", "params": { "gl": "us", "hl": "en", "num": 10, "page": 1 } }, "response": { "source": "google_shopping", "status": "done", "results": [ { "searchParameters": { "q": "mechanical keyboard", "gl": "us", "hl": "en", "type": "shopping", "num": 40, "page": 1, "engine": "google" }, "shopping": [ { "title": "Keychron V1 Wired Custom Mechanical Keyboard barebone version 75% layout QMK/via programmable macro with Hot-swappable suppo", "source": "Keychron.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:4646494883927026855,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$69.99", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcTmFH2V5iUcuY9yRuK1-vTVeyU3DJLVq_MomMlGTQnfiyxxBIB9ISDiXNuhtyWOBoDJNM1rCNvc07jUU4l1bilumAMkF8aHZ07__xTWQQw1dPRD8xAGCvk4", "rating": 4.8, "ratingCount": 336, "productId": "4646494883927026855", "position": 1 }, { "title": "Logitech POP Keys Wireless Mechanical Emoji Keyboard", "source": "Walmart - EXPO PLANET", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:1372105290382114078,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$73.00", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcSyNZxBRz-l_Gn9tT9g-R0DuA_0FR4iJ2WoDCy73Y_i3aUpBIFM1LUmZIrg8gSJj_yGR8_d6CH90jhWGxU7vpOPS7x_ZueAB4AEwuShc98auOj5bG520t-t", "rating": 4.7, "ratingCount": 1000, "productId": "1372105290382114078", "position": 2 }, { "title": "GravaStar Mercury K1 Pro 75% Wireless Mechanical Gaming Keyboard", "source": "Gravastar", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:13608562084648114567,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$199.95", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcR-TQsWbAOG7o1rBDqFMd6jm3jNAaOOF_3e2Jx1cX5at8vhXPbNNkZTw0WuZWVlx0uwbhj6QNniEGukqRQ8leJCa-Wxelxyw6k1BRFKL5LhiRIiwNJ4zjL1CA", "rating": 4.7, "ratingCount": 493, "productId": "13608562084648114567", "position": 3 }, { "title": "Ducky Origin Vintage Double Shot PBT Mechanical Keyboard Cherry MX", "source": "Mechanical Keyboards", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:5748030470703409769,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$79.00", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcR3MvEHH5hEDMgHfOvxGhEeXTcpBdUp7ye1EoKASuls_-EgvFJp88_OZYnDP8jDV8QNL5suAx6dFjYqtS2ikuSQBwJOrlbeiVuEwk52O1U1OIMPwQnHHvg", "rating": 4.8, "ratingCount": 92, "productId": "5748030470703409769", "position": 4 }, { "title": "Womier DUO87 Mechanical Keyboard \u2013 Detachable Smart Display", "source": "Womier Keyboard", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:17875978550281416490,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$137.00", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcR7iPiHCpJ_te1Mu7OVndFELO-RAkYPt28guxbhUl-Xt8z8Fme9KMhqmZpB5p11wKwvz0OzDl25G5yxCAK0SXx5kDPym_o7j1SIy0oI0UFkosNWWic77EbNgQ", "rating": 4.2, "ratingCount": 4, "productId": "17875978550281416490", "position": 5 }, { "title": "Redragon K686 Wireless Mechanical Keyboard", "source": "Redragon", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:15726725006224582620,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$74.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQJzhmsDaPvgtLa0aBhuEtFCjThX6HyE28H5ZBzHFjbqdfM0XL1Teb22C3EStFJRgL30XmZhKQ9NGu1qWzOkK3WAnQFQwaMbcf4SBWkQIe00ra64UmxKYDv", "rating": 4.8, "ratingCount": 274, "productId": "15726725006224582620", "position": 6 }, { "title": "RK ROYAL KLUDGE 96% Hot-Swappable", "source": "RK Royal Kludge", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:7810425084434324091,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$84.99", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcQXcsA8mNsVs1QqrU-f095AkcR4asufSiKuUZ2IYyNJR1GjRT6j1a1ppzkoyJrbzfHGwaKS6Msiui9rQknUptv6YSBBtt96rkzI__3nHSqBLRa_YFCEUAMRtg", "rating": 4.8, "ratingCount": 2500, "productId": "7810425084434324091", "position": 7 }, { "title": "Keychron C2 Pro 8K QMK Wired Custom Mechanical Keyboard", "source": "Walmart", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:11097985348358538808,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$54.88", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcQC8__1QKAxZ-u1qhy6WgLv-tSffFGv9njl1GxL9nPJ9tl4OP7TE_zFY1czFKrZOWT9qc7HTd8yogde1bFEhWTkpR4_kFHzsyMUzPxT27WGzYOCQtXDPdc5", "rating": 4.8, "ratingCount": 187, "productId": "11097985348358538808", "position": 8 }, { "title": "SteelSeries Apex Pro Gen 3 Gaming Keyboard", "source": "Best Buy", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:11295917230918573865,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$224.99", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRmS27cBS2Ojl93EyGH0naNYSaS2dAk9iRM2jqWypvTDHOOYt59UBM0FSZqQAZrk5tNp5kgLOA3MfnonGc6UIPfibOAFnv0GArlhT7xNwbe5sT65CMzN1wFAA", "rating": 4.8, "ratingCount": 405, "productId": "11295917230918573865", "position": 9 }, { "title": "Akko MG108B Bun Wonderland Keyboard", "source": "Micro Center", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:18437200232403210249,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$95.99", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSFovRuJomo7BV9V5hIZPo4s9P2C13fjwPMWiJexc0ho1-fT4h5-9qTI1yaxPM15VVjNmdSeika-Dd0Gx8DH0A6EUgsXvB52g", "rating": 4.9, "ratingCount": 33, "productId": "18437200232403210249", "position": 10 }, { "title": "LOFREE Flow Lite84 Keyboard", "source": "Lofree Official", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:13699470670831714421,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$99.00", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcShd5tCq5fRvRYOQKIVKxw2QNXHjVqdGa7qcvTqD9xLefdokc_EJRvZkOWvssEsjCozhBOoy61ZHf11aAa45HywVirMm7VHCIdBg6PI3JkS6KH-XxwwgyuRBQ", "rating": 4.7, "ratingCount": 120, "productId": "13699470670831714421", "position": 11 }, { "title": "Aula F75 Pro Knob Side-Printed Mechanical Keyboard", "source": "AULA Official Store", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:17223130883498045915,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$73.90", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcS-kyHNqVcYU7hN9XwqSaVTc-QEJteJJZ0Q3VHiLPaj9f5InmFeEi7NSxvfbv2CEGcceOgmvCrQjqpm3A1a0H1mH-wwpfTamq3PXo9XFib5RgsHYxExpnzp", "rating": 4.9, "ratingCount": 443, "productId": "17223130883498045915", "position": 12 }, { "title": "GravaStar Mercury K1 Gaming Wireless Keyboard", "source": "Gravastar", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:17971885565025398011,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$129.95", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRZ4UdtZK0Q-T419AFSrzRIOCP7uu6T0sXLVMajYJlNM-xjjJ_1gTKI53pItneB6E9mjGxHrNUwrz22hSB5vT_ZGcGcf1DpWEx74rM9LuGu", "rating": 4.8, "ratingCount": 872, "productId": "17971885565025398011", "position": 13 }, { "title": "Evoworks Evo80 Aluminum TKL Hotswap Wireless Keyboard Spray-coated Cream / HMX Azure / FR4", "source": "Mechanical Keyboards", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:12449886256735234372,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$169.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSvQkVcxw5FX4KsptWjZQ-u5L4cXl_Vn4VjnP96xn9WTjPzVvB6oJ8DJX6_7zTzkDZo5m-yDCG7XOwhbrE_ihgELrEvlA9faARE9KJoaJsSI1WyDOPRDQ7BIQ", "rating": 4.9, "ratingCount": 146, "productId": "12449886256735234372", "position": 14 }, { "title": "Keychron Q6 HE QMK Wireless Custom Keyboard", "source": "Keychron.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:7059410624114633005,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$249.99", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcT-47odwzaroSeNthjWzQIqMc0i7s-Ydw2osWOYmhe55jWxvRyPj00mQ054eIwEC0dgxfA_JxTLUFbTLmOE2AXGtHrvkH5IZ0u7BsCEEzfLTxfIlqt15voRfw", "rating": 4.6, "ratingCount": 26, "productId": "7059410624114633005", "position": 15 }, { "title": "Redragon Dragonborn Gaming Keyboard", "source": "Target", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:18294942990556276862,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$39.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQl1_4nxXfyXYhpyjVviZvGzepUh4hD_cDT4Qo_3dl9senykXcBcAMz6m0xWMsJFFImWq7CygXvQSusb2qKKPZ1kzSPrXEB", "rating": 4.8, "ratingCount": 257, "productId": "18294942990556276862", "position": 16 }, { "title": "Razer BlackWidow V4 Pro Mechanical Gaming Keyboard", "source": "Razer.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:2090868471987316808,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$229.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSv0-_HICcUd_kG5NoXVBmgemk7NRsHCug6alxVx0V0yUBgxFvVnjrQTBgb4TF87S42jPTvpn1hCvtvZUFD_DSxxlDCrUrcV6O6QW1QYzj5oVgNGcjXiocevw", "rating": 4.9, "ratingCount": 113, "productId": "2090868471987316808", "position": 17 }, { "title": "HyperX Alloy Origins 65 Gaming Mechanical Keyboard", "source": "Walmart - Leos Warehaus Inc", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:10412508201090334370,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$64.99", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTUVOTOgGvW1Xtg03YNlpsguGAzi2HdjOy6sa7XqK1hXLl3VGMp3kf8BTfg_ARBbzf0rb39MxyLyzg-O945NwsjKZKrketspt5vc9hC1TQIum_qSmdsKBjP", "rating": 4.8, "ratingCount": 676, "productId": "10412508201090334370", "position": 18 }, { "title": "ROYAL KLUDGE RK61 60% Gaming Mechanical Keyboard for FPS", "source": "RK Royal Kludge", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:4840064381012612290,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$54.99", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRoKmrgHscv4CZUXnjOF-8vdcj4QLk3qgrDzxi6mk8c0qVHWnY3MMl8JoVNw_TrI7AG9SQvZZ0PqWGhT_eLc55RIU50n5kADJfQZMqun6m79ix_bttZX5vRmA", "rating": 4.5, "ratingCount": 1300, "productId": "4840064381012612290", "position": 19 }, { "title": "Keychron V1 Ultra 8K Wireless Mechanical Keyboard", "source": "Best Buy", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:12189697796227231637,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$114.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQk5Dkt_4UHtkpTM5VKGksa7MLWUUFlsYa-HPM2bgCOik3yS2uxctau0Uj9WpyacXPo9lL_BFhvIYYbhcDuzv2QpGpY_KghWhMeF53gIURnCjDtVaRGwlsW", "rating": 4.7, "ratingCount": 35, "productId": "12189697796227231637", "position": 20 }, { "title": "Ducky One 3 Matcha Hotswap Double Shot PBT Quack Mechanical Keyboard", "source": "Mechanical Keyboards", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:10534862950362891730,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$119.00", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTon4oYntHBIfq4ZKi5cBDgetoxBOUQP41dN4ONCtT6Sq_yuQ6_AAGw56OzcYCSp-bIr6gMcpFdM8RJAx3CsP_fhMb3AluHpBprJAbZtGlnyrr-7s9tesJw", "rating": 4.4, "ratingCount": 138, "productId": "10534862950362891730", "position": 21 }, { "title": "Keychron K2 Wireless Mechanical Keyboard", "source": "Keychron.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:17879833808665300620,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$59.99", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRJj9P-dSI-t_oNJhTVMjmoBYTq3PFfcLEMxrwCrolJi_v-kdUMNiDngeLo75K8GZKy0TdJ_-L3d99z-TycuBqSIW_zpD8-zw6M0McHVoXw_He1Vz4BOdY5", "rating": 4.4, "ratingCount": 1100, "productId": "17879833808665300620", "position": 22 }, { "title": "Logitech G316 X 98 Gaming Keyboard", "source": "Logitech G", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:18379726873606918593,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$119.99", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcSH42apx8AnOxSrsay4yxQNqyzwzbZcSJNH4YBtZkGgRfYAPm6qg9lv6PFq4Zs5L0lioMNEwbimkdTRx4Q1T-rZFAzseFBCIsNhrEaw-tySSNSR4OftxAqtng", "rating": 4.6, "ratingCount": 23, "productId": "18379726873606918593", "position": 23 }, { "title": "Keyboard Lofree Flow", "source": "Lofree Official", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:11810403505487913553,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$119.00", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcR7jR_e5vJmzP5swTrXWbWef2bPL42T2iayNSqU-1ByNrVIZUOF3SdAxUxR8jkeOpYmtKRrnxIx--w0QGwFqCM3WeZiCGwmU3z8H6kiZyQ5DB1aHrO5uZbSMw", "rating": 4.9, "ratingCount": 125, "productId": "11810403505487913553", "position": 24 }, { "title": "Retro Mechanical Keyboard", "source": "7KEYS", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:11494752268746712765,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$97.99", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTqHc_Jmubaf61naYvm1xegUbsbRjul5uxUC1vfgx4Lc_v7MsWhM-4BtOuq9yL6duHFM_1453batQ14FqY0XRCQ8J73uR6nUrfS-8dveaH1", "productId": "11494752268746712765", "position": 25 }, { "title": "Azio Retro Classic Mechanical Keyboard", "source": "AZIO Corporation", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:16971097378531019308,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$199.99", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRjVJ2TMfEX0z5cO-qGpRRcCtGig4NFMYSKGWaEAehtdR6jtjR5_PU1xaihJjdQiRZM9wFNLSy9WaqZmRTLS6wAf4X6QnT9kLzVhkPjL3PlO31EixxJJFBh2Q", "rating": 4.6, "ratingCount": 114, "productId": "16971097378531019308", "position": 26 }, { "title": "Keychron Q1 Ultra 8K Wireless Mechanical Keyboard", "source": "Keychron.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:5344649837165815560,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$229.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSAchEW3gEEJ0A80awI9E_9K45mDR99a5T3QMeVOscwxr70hTDEzm25g9ynkBcWTLFIV0g4kj_JNLzdopCCV2jexWfyFZ1TooKgOZ0Kabv-c1EQMXkXTDrK", "rating": 4.9, "ratingCount": 9, "productId": "5344649837165815560", "position": 27 }, { "title": "Gravastar Mercury V75 Pro Gaming Keyboard", "source": "Best Buy", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:8177873089576243083,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$239.95", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTTcYILadyJ88aGKjCx8IY2Bcrlvr9Pj1TilR4S4FIYNGGQGk7atpxspBbUbV5hZj1y96lo9u2LY9dKnUxm2M9BwjHk4uZE8_QIcZmuTJY", "rating": 4.8, "ratingCount": 53, "productId": "8177873089576243083", "position": 28 }, { "title": "Evoworks Evo80 Aluminum TKL Hotswap Wireless Keyboard", "source": "Mechanical Keyboards", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:13253336244308435657,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$169.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSbS8Qt7QIAKPV12kZDZHEDGHIDNVPOxXOBFGcabuXjA9S1CqxcGeYArXfaj5JkCH57-KCdNhRB8Ze9P6v0gyr7h28vP1IuDgzahV5kTdn3rcCmDPCMqHpAZA", "rating": 4.8, "ratingCount": 184, "productId": "13253336244308435657", "position": 29 }, { "title": "NuPhy Air75 v3", "source": "NUPHY", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:13232011580101638860,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$149.95", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSXSuE2QgS_Orh5vNXDLz0Ig1QvgnUZnhVxLcPOFvPGK7P0PPWVGGQEzZax7oSx_aifGwgka_A6LTeMV1guizqYXDdeYVSLdy9mMTDVYjlx01drJKK7jQ", "rating": 4.7, "ratingCount": 489, "productId": "13232011580101638860", "position": 30 }, { "title": "Corsair K100 RGB Mechanical Gaming Keyboard", "source": "Connection", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:8949332337056099610,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$391.95", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcTGar80LcLrZgPf5fUfP8AhEK29YwWkpaSXSQDG0WwJ7GzC-2L2eGZlyZbp3f5wk5cjjYBXZT-Q1A3WKGbQK6VJFiOJe3QzxiVeVaysjL9q1DgCgkAo92M-", "rating": 4.4, "ratingCount": 49, "productId": "8949332337056099610", "position": 31 }, { "title": "Keychron Q6 Ultra 8K Wireless RGB Keyboard", "source": "Keychron.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:5451284706787390668,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$239.99", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRuvNzVRvGSlbu5UzMxHNnAFyBNWmhU01ty4QZJahImos_-sejyWAUk5Om1jOFrouVPvJaBEnMQ2HKDRVAbBhancZxuJyplmT2xxnIeiflegpVxuCOPmEXO", "rating": 4.6, "ratingCount": 8, "productId": "5451284706787390668", "position": 32 }, { "title": "Logitech G915 X Wired Mechanical Gaming Keyboard", "source": "CDW", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:12098348343970192457,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$199.99", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcSmWp2ZPnH2E0iKlUEpRg-m6EWItJldw1g6mPKbexPC-BmF3TJQ2ISIHdZfTRB-7xxbNCEbmGmu6gUyCaqpKdOHMOK8AN5S334uuCAZ-Ws", "rating": 4.4, "ratingCount": 145, "productId": "12098348343970192457", "position": 33 }, { "title": "Gravastar Mercury V75 HE Gaming Keyboard", "source": "Gravastar", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:4273064024988134567,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$169.95", "imageUrl": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcS9dZLyOhHs4MMqzd7xd1XAbdPcF7ERKi8OGhj4fvqd3a9nh3ockFbtY9_6fBh2fjnwLEFe9iRdplt0ClKHU-aixJkI-vMp1fSR_tB5QPdRqpsRy914J7xwFw", "rating": 4.6, "ratingCount": 139, "productId": "4273064024988134567", "position": 34 }, { "title": "LUMINKEY Luminkey98 V2 Aluminum Wireless Keyboard", "source": "Mechanical Keyboards", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:12394711049720633366,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$268.00", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcT4prylIX0SZxZF2EaqnMemG6MEBXLYGIIk57ByYkC-duZBl2G8axwrkia5uZf78wmy0eRHDfxNlsfRzoimM3PVQ-vfV_TtkFAH7uUqiTNwx3bZIfGrGB_Npg", "productId": "12394711049720633366", "position": 35 }, { "title": "Magegee Typewriter Mechanical Gaming Keyboard Retro Black Punk Round Keycaps RGB Rainbow Backlit Wired Keyboards for Laptop MAC PC Gamer", "source": "Best Buy", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:5028287084613668314,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$35.99", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTYo9SaiL6a-oKyaIJ76AdZPWLwvJBOVJiVC9lOpSE2GSHuEtGW4y_bXkt6HcWg5llCCwVPuaLIqzyYGFaphGqZmhlJe16_3lUVBeg1B9cQGekdSAyoQEgTIA", "productId": "5028287084613668314", "position": 36 }, { "title": "Keychron Q11 Ultra 8K Wireless Custom Mechanical Keyboard Fully Assembled Knob", "source": "Keychron.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:11985821720110681337,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$239.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQA5SFnjw7sWt8R2VeLl0ep8zeF0GFVfNqmnHjoN8vqHqCISWah2dxjvNogTEiWA6SVc4s5NOPjHo-n4OdCej8sx8U_fSLKzuk9x5_1Vl-4M9pzeFf_GP7kOA", "rating": 3.4, "ratingCount": 12, "productId": "11985821720110681337", "position": 37 }, { "title": "GravaStar Mercury K98 Pro Wireless Mechanical Gaming Keyboard", "source": "Micro Center", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:4603642511690907054,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$259.95", "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSKxyO9WY0og_9FsQznsx3gJ5ZQzlBzyoVTbbCjM9cTN7FWsLpbgWACg3QHqGOpSuZBXpEV4-fFvAzztRnJ3wRHJt3HaQFQpXQIF1bPDqmmYYVkr18x8w5Rvg", "rating": 4.8, "ratingCount": 42, "productId": "4603642511690907054", "position": 38 }, { "title": "Redragon K556 RGB LED Mechanical Keyboard", "source": "Newegg.com", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:16226565545758173114,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$59.99", "imageUrl": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcS7ikFjhBZdQ7nefZ7NgQk4ExorwA_pm9sP_ewfHab40aCtJBFq5JK-IDl2_oGfULl8wO1FO0NobMgWsbdeJKqSWIK_DguzHkhKzcBHgGr9AxQCabmj59xl3A", "rating": 4.7, "ratingCount": 42, "productId": "16226565545758173114", "position": 39 }, { "title": "Varmilo Sword 2-87 White LED TKL Dye Sub PBT Aluminum Mechanical Keyboard", "source": "Mechanical Keyboards", "link": "https://www.google.com/search?ibp=oshop&q=mechanical+keyboard&prds=localAnnotatedOfferId:1,catalogid:12906304364526863838,pvo:2,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&gl=us&udm=28&pvorigin=2", "price": "$250.00", "imageUrl": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcSQxoIDwkIgSrqqFqGsMicrAQFfgu8xXXkuusupH87wV56cjqn7-MMY0ZMBYmORlOTJxbP6Tmlyc-_CzhL7C1ZLCUJ-TPYNySekPZ-1JPB8tlBmSzOGWCAgOQ", "productId": "12906304364526863838", "position": 40 } ] } ], "usage": { "credits": 0.02 }, "created_at": "2026-09-16T07:41:40.048Z" }}12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>12345678910111213141516171819202122<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>FlashData research tool</title><link rel="stylesheet" href="style.css"></head><body><main><header><a href="https://flashdata.dev" class="brand">FLASHDATA</a><span>Research tools for AI agents</span></header><section class="intro"><p class="eyebrow">SMOLAGENTS TOOL · PYTHON</p><h1 id="title">Loading tool…</h1><p id="scenario"></p><a id="docs" class="cta">Get an API key and read the docs ↗</a></section><div class="grid"><section class="panel"><h2>Build a request</h2><p id="task"></p><label for="parameters">Tool inputs (JSON)</label><textarea id="parameters" spellcheck="false"></textarea><button id="generate" type="button">Generate Python call</button><p id="input-status" role="status"></p><pre><code id="python"></code></pre><p class="hint">Run this code in your Python environment. Your API key is entered there, not on this page.</p></section><section class="panel"><h2>Inspect the response</h2><p class="hint">This is a recorded documentation sample, not a live response to the request on the left. You can paste your own response JSON to explore its fields.</p><details><summary>Original sample request</summary><pre id="sample-request"></pre></details><label for="response">Response JSON</label><textarea id="response" spellcheck="false"></textarea><button id="inspect" type="button">Inspect results</button><p id="response-status" role="status"></p><div id="results"></div></section></div><section class="panel next"><h2>Use the result</h2><p id="next"></p><h3>Limits and costs</h3><p id="limit"></p><p>The tool is free to install. <strong>FlashData API calls are paid.</strong> Platform, model and customer storage costs are separate. No API or model call is made by this page. <a href="https://flashdata.dev/pricing">Check pricing ↗</a></p><p>For an uncertain timeout, check Jobs before retrying a paid submission. Download jobs must be read with their saved ID; do not submit again while pending.</p></section><footer><a id="source">Review tool.py</a><a id="readme">Installation and input reference</a><span>MIT licensed integration · FlashData API terms apply separately</span></footer></main><script type="module" src="app.js"></script></body></html>
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119{ "additionalProperties": false, "description": "Google source parameters; omitted settings use provider behavior.", "properties": { "query": { "description": "Search query, between 1 and 2,000 characters.", "maxLength": 2000, "minLength": 1, "title": "Query", "type": "string" }, "num": { "anyOf": [ { "maximum": 100, "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Requested result count.", "title": "Num" }, "page": { "anyOf": [ { "maximum": 100, "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": null, "description": "Search result page.", "title": "Page" }, "autocorrect": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "Enable spelling autocorrection.", "title": "Autocorrect" }, "gl": { "anyOf": [ { "pattern": "^[A-Za-z]{2}$", "type": "string" }, { "type": "null" } ], "default": null, "description": "Two-letter country code, for example us.", "title": "Gl" }, "hl": { "anyOf": [ { "pattern": "^[A-Za-z0-9-]{1,35}$", "type": "string" }, { "type": "null" } ], "default": null, "description": "Interface language code, for example en.", "title": "Hl" }, "location": { "anyOf": [ { "maxLength": 200, "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional geographic search location.", "title": "Location" }, "tbs": { "anyOf": [ { "maxLength": 200, "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional Google time filter, for example qdr:w.", "title": "Tbs" } }, "required": [ "query" ], "title": "GoogleInput", "type": "object"}12smolagents==1.26.0langchain-flashdata==0.2.112345678910111213141516171819202122232425262728body {padding: 2rem;font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;}h1 {font-size: 16px;margin-top: 0;}p {color: rgb(107, 114, 128);font-size: 15px;margin-bottom: 10px;margin-top: 5px;}.card {max-width: 620px;margin: 0 auto;padding: 16px;border: 1px solid lightgray;border-radius: 16px;}.card p:last-child {margin-bottom: 0;}1:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#14243b;background:#f4f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:1240px;margin:auto;padding:32px}a{color:#175bc1;text-underline-offset:3px}header{display:flex;align-items:center;gap:24px;border-bottom:1px solid #dce3ed;padding-bottom:24px;color:#64748b;font-size:14px}.brand{font-size:21px;letter-spacing:.1em;font-weight:850;text-decoration:none;color:#123364}.intro{max-width:900px;padding:52px 0 38px}.eyebrow{font-size:12px;letter-spacing:.13em;font-weight:750;color:#4977aa}h1{font-size:clamp(28px,4vw,46px);line-height:1.12;letter-spacing:-.035em;margin:18px 0}h2{font-size:22px;margin:0 0 14px}h3{font-size:17px;margin:28px 0 8px}p{line-height:1.65}.intro>p:not(.eyebrow){font-size:18px;color:#4d6077}.cta{display:inline-block;background:#164f9b;color:white;padding:12px 18px;border-radius:7px;text-decoration:none;font-weight:600;margin-top:12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:#fff;border:1px solid #dce3ed;border-radius:12px;padding:26px;min-width:0;box-shadow:0 5px 20px #12336405}.hint{color:#61738b;font-size:13px}label{display:block;font-size:13px;font-weight:650;margin:20px 0 8px}textarea{display:block;width:100%;height:190px;resize:vertical;border:1px solid #cbd6e6;border-radius:7px;padding:13px;font:13px/1.55 ui-monospace,SFMono-Regular,monospace;color:#253c58;background:#fbfcff}button{margin-top:12px;border:1px solid #b5c9e4;border-radius:7px;background:#edf4ff;color:#164f9b;padding:10px 15px;cursor:pointer;font:600 14px inherit}button:hover{background:#dfecff}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f7fb;padding:15px;border-radius:7px;font:12px/1.6 ui-monospace,SFMono-Regular,monospace}details{font-size:13px}summary{cursor:pointer;color:#175bc1}.result{padding:14px 0;border-bottom:1px solid #e5ebf3}.result:first-child{padding-top:0}.field{font-size:13px;line-height:1.6;overflow-wrap:anywhere;margin:4px 0}.field b{color:#62758b;font-weight:500}.next{margin-top:22px}footer{display:flex;flex-wrap:wrap;gap:20px;padding:25px 0;color:#718096;font-size:12px}[role=status]{font-size:13px;color:#536b88}:focus-visible{outline:3px solid #7ea9ee;outline-offset:3px}@media(max-width:800px){main{padding:20px}.grid{grid-template-columns:1fr}.intro{padding-top:30px}header{flex-wrap:wrap;gap:8px}.panel{padding:20px}h1{font-size:32px}}
1234567891011121314151617181920212223{ "slug": "google-shopping-shortlist-flashdata", "title": "Google Shopping product shortlist \u2014 FlashData", "scenario": "Give a purchasing assistant a dated product shortlist. Retrieve product titles, merchant links and displayed prices for a specific query, then compare suitable listings with the buyer's requirements.", "task": "Shortlist USB-C monitors for a home office purchasing brief.", "input": { "query": "27 inch USB C monitor", "gl": "us", "num": 10 }, "path": "results.0.shopping", "fields": [ "title", "source", "price", "link", "rating" ], "next": "Preserve the query time and merchant URL, then verify availability and final checkout price on the merchant site.", "limit": "Displayed prices are a search snapshot. Stock, delivery charges, final prices and currency comparability are not guaranteed.", "source": "google_shopping", "repo_id": "flashdata-dev/google-shopping-shortlist-flashdata"}123456789101112131415161718192021222324252627282930313233343536from smolagents import Tool
class FlashDataTool(Tool): name = 'google_shopping' description = "Give a purchasing assistant a dated product shortlist. Retrieve product titles, merchant links and displayed prices for a specific query, then compare suitable listings with the buyer's requirements. Displayed prices are a search snapshot. Stock, delivery charges, final prices and currency comparability are not guaranteed. Uses paid FlashData API credits. Never automatically retry an uncertain submission; check Jobs first." inputs = {'autocorrect': {'description': 'Enable spelling autocorrection. Default: None.', 'nullable': True, 'type': 'boolean'}, 'gl': {'description': 'Two-letter country code, for example us. pattern: ^[A-Za-z]{2}$. Default: ' 'None.', 'nullable': True, 'type': 'string'}, 'hl': {'description': 'Interface language code, for example en. pattern: ^[A-Za-z0-9-]{1,35}$. ' 'Default: None.', 'nullable': True, 'type': 'string'}, 'location': {'description': 'Optional geographic search location. Default: None.', 'nullable': True, 'type': 'string'}, 'num': {'description': 'Requested result count. minimum: 1. maximum: 100. Default: None.', 'nullable': True, 'type': 'integer'}, 'page': {'description': 'Search result page. minimum: 1. maximum: 100. Default: None.', 'nullable': True, 'type': 'integer'}, 'query': {'description': 'Search query, between 1 and 2,000 characters.', 'type': 'string'}, 'tbs': {'description': 'Optional Google time filter, for example qdr:w. Default: None.', 'nullable': True, 'type': 'string'}} output_type = 'object'
def forward(self, query: str, num: int | None = None, page: int | None = None, autocorrect: bool | None = None, gl: str | None = None, hl: str | None = None, location: str | None = None, tbs: str | None = None) -> dict: from langchain_flashdata import FlashDataGoogleShopping values = {'query': query, 'num': num, 'page': page, 'autocorrect': autocorrect, 'gl': gl, 'hl': hl, 'location': location, 'tbs': tbs} return FlashDataGoogleShopping().invoke({key: value for key, value in values.items() if value is not None})LICENSEAdded+21
README.md+76-5
app.jsAdded+75
example.jsonAdded+467
index.html+20-17
input-schema.jsonAdded+119
requirements.txtAdded+2
style.css+1-28
task.jsonAdded+23
tool.pyAdded+36