Show HN: WrapAPI: a tool to build APIs and bots on top of any website
wrapapi.com
wrapapi.com
I've done a lot of reverse-engineering of websites and thought a lot of the work could be made more generic. WrapAPI is an attempt to generalize a lot of the work needed to simulate actions on websites.
There are basically 4 steps:
1. Capture sample requests to serve as a reference - this is similar to how one might use the Chrome Developer Tools or a packet sniffer to capture sample requests to the app
2. Specify inputs - parametrize the inputs so that you can switch out arguments passed to the webpage
3. Extract outputs - we have Kimono-like visual tools to select the outputs from the webpage via CSS, JSON, and Regexp selectors
4. Test it out - try it to ensure everything's working
In addition, we want users to be able to share and publish the work, so we've added that too.
Seems really useful, will definitely bookmark it.
http://i.imgur.com/TlJXFJm.png
http://i.imgur.com/q6KIE1J.png
Any tips? I'm not really sure what it's doing but I checked `netstat` and nothing appears to be listening on 127.0.0.1:60876.
I used for testing long time back. Of course it didn't allow Javasript because it ran on Mechanize but it also meant it was extremely fast.
I installed the chrome extension, and saved a request to an endpoint, but it's not showing up in my account under 'My API endpoints'. Is there something special I have to do to get it to show up?
edit: sent an email.
i love the idea, connecting developer tools via a plugin to the site is genius. this is a very creative way of doing this, and it's perfect.
the user interface on the site is pretty messy though. i've just tried to fetch my first data and it just got to messy to be worth it. it's currently (for me at least) less messy doing this sort of thing manually than clicking around in the interface, and that should give you a hint that the ux needs some work.
will check back in the future though, it looks very promising!
This includes tools to parametrize GET and POST requests, as well as a set of tools to extract data from the webpage itself.
We're working on a video demoing how it works! Let me know if there are particular use cases in mind and I'd be happy to try to help out on those.
- Parses the output into a machine-readable format (similar to Kimono Labs)
- Allows you to publish the request and its schema to a publicly accessible API endpoint, rather than just testing existing API endpoints
Hope this helps! Give it a shot; it's a very powerful tool