1,051 karma · joined September 24, 2012
- 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
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.
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.
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.