# I want to use mitmproxy to implement a tool

**URL:** <https://discourse.mitmproxy.org/t/i-want-to-use-mitmproxy-to-implement-a-tool/522>\
**Category:** help\
**Created:** [June 20, 2017, 10:39am UTC](https://discourse.mitmproxy.org/t/i-want-to-use-mitmproxy-to-implement-a-tool/522 "2017-06-20T10:39:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cuijianxiong](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@cuijianxiong](https://discourse.mitmproxy.org/u/cuijianxiong)\
**Post date:** [June 20, 2017, 10:39am UTC](https://discourse.mitmproxy.org/t/i-want-to-use-mitmproxy-to-implement-a-tool/522/1 "2017-06-20T10:39:41Z")

</div>

I want to use mitmproxy to implement a tool  
.But my English is so bad .I have a lot of Chinese documents about mitmproxy  
such as [http://www.freebuf.com/sectool/76361.html.But](http://www.freebuf.com/sectool/76361.html.But) libmproxy api is gone. But it is old

 ![](https://canada1.discourse-cdn.com/flex030/uploads/mitmproxy1/original/1X/799aa8219b3a4e5d337ced6da3e1cd50d939579b.png)  
 ![](https://canada1.discourse-cdn.com/flex030/uploads/mitmproxy1/original/1X/8724ae17e1343f3f141f224e3dcc4a94d580ff2d.png)  
I would like to use mitmproxy crawl traffic request and response using api interface.  
But libmproxy has become mitmproxy, I searched the document did not find, I hope you can tell me some function, such as start mitmproxy proxy interface, or access to the request and response interface

---

<div class="post-metadata">

**Author:** ![MatthewShao](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MatthewShao](https://discourse.mitmproxy.org/u/MatthewShao)\
**Post date:** [June 21, 2017, 11:18am UTC](https://discourse.mitmproxy.org/t/i-want-to-use-mitmproxy-to-implement-a-tool/522/2 "2017-06-21T11:18:45Z")

</div>

Hi!, I think the script api can suit your need! You could see the script document here : [http://docs.mitmproxy.org/en/stable/scripting/overview.html](http://docs.mitmproxy.org/en/stable/scripting/overview.html). If you want to crawl the traffic, I guess you should try the `concurrency` mode here: [http://docs.mitmproxy.org/en/stable/scripting/overview.html#concurrency](http://docs.mitmproxy.org/en/stable/scripting/overview.html#concurrency).  
Also, you’re welcome to ask me question in Chinese by the PM system!

---

<div class="post-metadata">

**Author:** ![cuijianxiong](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@cuijianxiong](https://discourse.mitmproxy.org/u/cuijianxiong)\
**Post date:** [June 21, 2017, 1:08pm UTC](https://discourse.mitmproxy.org/t/i-want-to-use-mitmproxy-to-implement-a-tool/522/3 "2017-06-21T13:08:41Z")

</div>

谢了 请问你是中国人么 要是中国人可以留个联系方式细聊我的qq207426719
