New to APIs and applescript

I have a need to write a script that allows me to accept an input and use that input in an API string, and send the URL API string.

For example, I want it to take the input of GTD and return the URL https://api.mozenda.com/rest?WebServiceKey=C70E1F84-E12B-4e73-B199-2EE6D43AF44E&Service=Mozenda10&Operation=Agent.Run&AgentID=1101&AgentParameter.search=GTD and then send the URL in a browser or something.

If possible I wold also like it to open a text or CSV file and record the date and search term used. But this is not absolutely necessary.

I am totally lost. Any help would be greatly appreciated. I am SO new to this.

David

Does that make sense? I’m scared by the lack of response.

The supplied URL doesn’t resolve properly so it’s hard to tell what’s supposed to happen. It’s also a bit hard to tell what you may be trying to do. It looks like a simple web request form your example but it’s not very clear.

Jim

I also don’t understand at all what you want to do. What’s GTD?

If you can provide more details about your issue, maybe I can help you…

Other free web data extractors like Octoparse, import.io and content grabber are good at scraping data. FYI.

You can easily do this using PHP CURL, Python or using Web Request in C#. If you want to use third party web scraping tools then you can visit below link where all the popular web scraping tools are listed and many of them support POST request.

http://webdata-scraping.com/web-scraping-software/

Browser: Safari 537.36
Operating System: Mac OS X (10.10)