summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-03-24 01:41:16 +0200
committerYuval Adam <yuval@y3xz.com>2016-03-24 01:41:16 +0200
commit45747990238cc708dfa370c8339a21f1aae5439b (patch)
treec9939228488b3a50d39eda977cd3e922b90d961d /README.md
parentbf097ee0d1229d5c89f3e8399efdb1aa45254908 (diff)
Update README with basic usage and add .gitignore
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3f98be7..d1f8de4 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,13 @@
A small Python library for decoding .NET viewstate. Can be used in various scraping scenarios.
+## Usage
+
+```python
+from viewstate import ViewState
+vs = ViewState(base64EncodedViewState)
+```
+
## References
- https://github.com/mutantzombie/JavaScript-ViewState-Parser