{"action":"opened","issue":{"url":"https://api.github.com/repos/phaethon/scapy/issues/64","repository_url":"https://api.github.com/repos/phaethon/scapy","labels_url":"https://api.github.com/repos/phaethon/scapy/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/phaethon/scapy/issues/64/comments","events_url":"https://api.github.com/repos/phaethon/scapy/issues/64/events","html_url":"https://github.com/phaethon/scapy/issues/64","id":132755975,"number":64,"title":"API Reference","user":{"login":"jtpereyda","id":244969,"avatar_url":"https://avatars.githubusercontent.com/u/244969?v=3","gravatar_id":"","url":"https://api.github.com/users/jtpereyda","html_url":"https://github.com/jtpereyda","followers_url":"https://api.github.com/users/jtpereyda/followers","following_url":"https://api.github.com/users/jtpereyda/following{/other_user}","gists_url":"https://api.github.com/users/jtpereyda/gists{/gist_id}","starred_url":"https://api.github.com/users/jtpereyda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtpereyda/subscriptions","organizations_url":"https://api.github.com/users/jtpereyda/orgs","repos_url":"https://api.github.com/users/jtpereyda/repos","events_url":"https://api.github.com/users/jtpereyda/events{/privacy}","received_events_url":"https://api.github.com/users/jtpereyda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-10T16:50:28Z","updated_at":"2016-02-10T16:50:28Z","closed_at":null,"body":"From the first time I used scapy I've always wanted an API reference. To figure out how to use scapy in a program, there is no easily accessed API reference as far as I know.\r\n\r\nThe `ls()` and `lsc()` commands list what you can do in the scapy interpreter, but I'm looking for the classes and modules that can be used in a Python script.\r\n\r\nI don't know how many of these features exist beyond `ls()`/`lsc()`, but one example is [PcapWriter](http://stackoverflow.com/a/20780224/461834).\r\n\r\nI'm not sure about the best way to get to an explicit API reference, but we can use Sphinx and readthedocs.org for hosting."}}