Metadata-Version: 2.4
Name: tally-sdk
Version: 0.0.1
Summary: A Tally SDK to manage yor forms
Home-page: https://github.com/marcoditullo/tally-sdk
Author: Marco Di Tullo
Author-email: marcoditullo02@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: summary

# Get Started

First of all, make sure you have TALLY_API_KEY in your ENV variables and load it.

``` python
from src.core.client import TallyClient
from dotenv import load_dotenv

load_dotenv()
tallyc = TallyClient()
```

Next you can query Tally according to their docs.

### User
```python 
# Get current user informations 
tallyc.users.get()
```

### Forms
```python 
form_id = 'XYZ'
sub_id = 'ABC'

# List all forms 
tallyc.forms.list()

# retrieve specific form 
tallyc.forms.retrieve(form_id)
    
# List all form's questions 
tallyc.forms.form_questions(form_id)
    
# List all form's submissions
tallyc.forms.list_submissions(form_id)
    
# retrieve specific form's sumbmission
tallyc.forms.retrieve_submission(form_id, sub_id)  
```

