Tap Forms – Organizer Database App for Mac, iPhone, and iPad › Forums › Script Talk › Chrome extension for Tap Forms & Amazon
December 17, 2020 at 10:21 AM #42884
Does anyone think there might be a way to create a Chrome extension that would be able to automatically add Amazon items to a tap forms list? Or is that just some pie in the sky impossibility?December 17, 2020 at 10:54 PM #42889
You can do it but it relies upon using CouchDB sync (or Cloudant) to land the items. I use CouchDB as my sync and I have a bunch of Greasemonkey/Tampermonkey scripts that I use to push stuff into Tap Forms.
Basically you can create a document in CouchDB with the same structure as a Tap Forms record. CouchDB let’s you do a POST to it to create a record via it’s web interface, Tap Forms then sees that record as a new record and it pops into it’s UI.
I have two scripts that I use to automatically import this forum into a Tap Forms document as I navigate around it, essentially each time I go to a page on the forum, it scrapes the page into CouchDB and then shows up in Tap Forms. Here’s a copy of the topic collector piece that shows importing topics and authors as new records. It’s a bit of a hack as there are some protections on the tapforms.com side to prevent sending to external domains (hence the cspbypass.google-analytics.com hack).
What about something that triggers a Form Script in Tap Forms that uses the new
parametersfeature that then causes the script to call back to an Amazon API to get the product details? I don’t know anything about building Chrome extensions though.
But there’s information about calling a Tap Forms Script from a URL and passing it parameters here:December 18, 2020 at 10:56 PM #42903
Amazon doesn’t have a consumer accessible API to retrieve product details, I looked and went digging and such a thing just doesn’t exist. On top of that they have pretty good anti-scraping systems in place as well.
You must be logged in to reply to this topic.