summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--README.md7
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bee8a64
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+__pycache__
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