From 45747990238cc708dfa370c8339a21f1aae5439b Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Thu, 24 Mar 2016 01:41:16 +0200 Subject: Update README with basic usage and add .gitignore --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') 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 -- cgit v1.3.1