HNHacker News
TopNewBestAskShowJobs

arciini

1,051 karma · joined September 24, 2012

submissionscomments
arciini··on Show HN: WrapAPI: a tool to build APIs and bots on top of any website
Yup, that's right. Half of building a bot involves getting the machine-readable data, and that's the part that we try to make easier.
arciini··on Show HN: WrapAPI: a tool to build APIs and bots on top of any website
It's similar in that it captures requests, but Postman is mostly targeted at making APIs that already exist more useful, while WrapAPI aims to fill the gap where there currently are no APIs. It also:

- 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

arciini··on Show HN: WrapAPI: a tool to build APIs and bots on top of any website
Hi! I'm Peter, creator of the tool. Let me know if you have any feedback, or any possible use cases for it by posting below or emailing me at peter@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.

arciini··on Show HN: WrapAPI: a tool to build APIs and bots on top of any website
It works by letting you capture network requests and then replicating those network requests exactly.

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.

arciini··on China in Revolt
To summarize the article:

1. There have been many successful labour actions in the last 3 years, mostly for higher wages. However, the demands have not been for better living conditions.

2. Most factory workers are migrants, and as such, their social lives back home are separated from their economic lives in the coastal cities where they work. In addition, obvious political movements are strongly suppressed, so the workers present their strikes as solely economic. These prevent strong activist movements for workers' rights from developing.

3. Recently, companies have been moving factories towards the source of the migrant workers: the interior. The author thinks that from this merging of workers' social and economic livelihoods, the workers' rights movement will bloom and lead to a true leftist movement in China.

← PreviousPage 4 of 4