https://github.com/timnekk/nalog
Python client library for Moy Nalog API
https://github.com/timnekk/nalog
api nalog
Last synced: 9 months ago
JSON representation
Python client library for Moy Nalog API
- Host: GitHub
- URL: https://github.com/timnekk/nalog
- Owner: TimNekk
- License: apache-2.0
- Created: 2022-03-14T18:19:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-15T16:12:44.000Z (about 3 years ago)
- Last Synced: 2025-01-22T07:48:30.164Z (over 1 year ago)
- Topics: api, nalog
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Moy Nalog API
 
**nalog** - this module is a Python client library for Moy Nalog API
## Installation
Install the current version with [PyPI](https://pypi.org/project/nalog/):
```bash
pip install nalog
```
## Usage
You need next data from [lkfl2.nalog.ru](https://lkfl2.nalog.ru/lkfl/login) to autharize:
- Email
- INN (Taxpayer Identification Number)
- Password
```python
from nalog import NalogAPI
api = NalogAPI(
email="example@email.com",
inn="123456789012",
password="my_secret_password"
)
receipt_id = api.create_receipt(name="Flower pot", price=199)
url = api.get_url(receipt_id)
print(url)
```
## Contributing
Bug reports and/or pull requests are welcome
## License
The module is available as open source under the terms of the [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0)