# SensCritique Takeout
[![PyPI status][pypi-image]][pypi]
[![Build status][build-image]][build]
[![Code coverage][codecov-image]][codecov]
[![Code Quality][codacy-image]][codacy]
This repository contains Python code to export your data from [SensCritique.com](https://www.senscritique.com).
## Installation
The code is packaged for [PyPI](https://pypi.org/project/senscritique/), so that the installation consists in running:
```bash
pip install senscritique
```
## Usage
### Library (« collection »)
A library can be downloaded as follows:
```python
import senscritique
# Download in JSON format the library of the given user
data = senscritique.parse_and_cache(user_name='wok', data_type='collection')
```
### Reviews (« critiques »)
Reviews can be downloaded as follows:
```python
import senscritique
# Download in JSON format the reviews of the given user
data = senscritique.parse_and_cache(user_name='wok', data_type='critiques')
```
### Rankings (« listes »)
Rankings can be downloaded as follows:
```python
import senscritique
# Download in JSON format the rankings of the given user
data = senscritique.parse_and_cache(user_name='wok', data_type='listes')
```
## References
- [Google Takeout](https://en.wikipedia.org/wiki/Google_Takeout)
<!-- Definitions for badges -->
[pypi]: <https://pypi.python.org/pypi/senscritique>
[pypi-image]: <https://badge.fury.io/py/senscritique.svg>
[build]: <https://github.com/woctezuma/SensCritique-Takeout/actions>
[build-image]: <https://github.com/woctezuma/SensCritique-Takeout/workflows/Python package/badge.svg?branch=master>
[publish-image]: <https://github.com/woctezuma/SensCritique-Takeout/workflows/Upload Python Package/badge.svg?branch=master>
[pyup]: <https://pyup.io/repos/github/woctezuma/SensCritique-Takeout/>
[dependency-image]: <https://pyup.io/repos/github/woctezuma/SensCritique-Takeout/shield.svg>
[python3-image]: <https://pyup.io/repos/github/woctezuma/SensCritique-Takeout/python-3-shield.svg>
[codecov]: <https://codecov.io/gh/woctezuma/SensCritique-Takeout>
[codecov-image]: <https://codecov.io/gh/woctezuma/SensCritique-Takeout/branch/master/graph/badge.svg>
[codacy]: <https://www.codacy.com/app/woctezuma/SensCritique-Takeout>
[codacy-image]: <https://api.codacy.com/project/badge/Grade/5414284721184d139b48023a0467858d>
Raw data
{
"_id": null,
"home_page": "https://github.com/woctezuma/SensCritique-Takeout",
"name": "senscritique",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "senscritique,takeout,takeaway",
"author": "Wok",
"author_email": "wok@tuta.io",
"download_url": "https://files.pythonhosted.org/packages/c2/e4/bc0922ec6207e9323c579fd87c0d8c4980dc59eb02877a9653cab109bcf9/senscritique-0.5.5.tar.gz",
"platform": null,
"description": "# SensCritique Takeout\n\n[![PyPI status][pypi-image]][pypi]\n[![Build status][build-image]][build]\n[![Code coverage][codecov-image]][codecov]\n[![Code Quality][codacy-image]][codacy]\n\nThis repository contains Python code to export your data from [SensCritique.com](https://www.senscritique.com).\n\n## Installation\n\nThe code is packaged for [PyPI](https://pypi.org/project/senscritique/), so that the installation consists in running:\n\n```bash\npip install senscritique\n```\n\n## Usage\n\n### Library (\u00ab collection \u00bb)\n\nA library can be downloaded as follows:\n\n```python\nimport senscritique\n\n# Download in JSON format the library of the given user\ndata = senscritique.parse_and_cache(user_name='wok', data_type='collection')\n```\n\n### Reviews (\u00ab critiques \u00bb)\n\nReviews can be downloaded as follows:\n\n```python\nimport senscritique\n\n# Download in JSON format the reviews of the given user\ndata = senscritique.parse_and_cache(user_name='wok', data_type='critiques')\n```\n\n### Rankings (\u00ab listes \u00bb)\n\nRankings can be downloaded as follows:\n\n```python\nimport senscritique\n\n# Download in JSON format the rankings of the given user\ndata = senscritique.parse_and_cache(user_name='wok', data_type='listes')\n```\n\n## References\n\n- [Google Takeout](https://en.wikipedia.org/wiki/Google_Takeout)\n\n<!-- Definitions for badges -->\n\n[pypi]: <https://pypi.python.org/pypi/senscritique>\n[pypi-image]: <https://badge.fury.io/py/senscritique.svg>\n\n[build]: <https://github.com/woctezuma/SensCritique-Takeout/actions>\n[build-image]: <https://github.com/woctezuma/SensCritique-Takeout/workflows/Python package/badge.svg?branch=master>\n[publish-image]: <https://github.com/woctezuma/SensCritique-Takeout/workflows/Upload Python Package/badge.svg?branch=master>\n\n[pyup]: <https://pyup.io/repos/github/woctezuma/SensCritique-Takeout/>\n[dependency-image]: <https://pyup.io/repos/github/woctezuma/SensCritique-Takeout/shield.svg>\n[python3-image]: <https://pyup.io/repos/github/woctezuma/SensCritique-Takeout/python-3-shield.svg>\n\n[codecov]: <https://codecov.io/gh/woctezuma/SensCritique-Takeout>\n[codecov-image]: <https://codecov.io/gh/woctezuma/SensCritique-Takeout/branch/master/graph/badge.svg>\n\n[codacy]: <https://www.codacy.com/app/woctezuma/SensCritique-Takeout>\n[codacy-image]: <https://api.codacy.com/project/badge/Grade/5414284721184d139b48023a0467858d>\n",
"bugtrack_url": null,
"license": "",
"summary": "SensCritique Takeout on PyPI",
"version": "0.5.5",
"project_urls": {
"Download": "https://github.com/woctezuma/SensCritique-Takeout/archive/0.5.5.tar.gz",
"Homepage": "https://github.com/woctezuma/SensCritique-Takeout"
},
"split_keywords": [
"senscritique",
"takeout",
"takeaway"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "49acf54a50563527dda7fa94c289abed09b88f5e72b6df0d1327105cfb102054",
"md5": "3d3727fa715f6909ab5665190b66ff97",
"sha256": "15920e4c0660e1a3ceaf36c090351d42719fe7516e77cd1efe26e0c6d1299bab"
},
"downloads": -1,
"filename": "senscritique-0.5.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3d3727fa715f6909ab5665190b66ff97",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 9785,
"upload_time": "2023-05-04T10:23:05",
"upload_time_iso_8601": "2023-05-04T10:23:05.509212Z",
"url": "https://files.pythonhosted.org/packages/49/ac/f54a50563527dda7fa94c289abed09b88f5e72b6df0d1327105cfb102054/senscritique-0.5.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c2e4bc0922ec6207e9323c579fd87c0d8c4980dc59eb02877a9653cab109bcf9",
"md5": "f803346d568b2c7553f8ad6edfe96a41",
"sha256": "848df5d88b7c375ebeaf648147d0d87827ba4e240bdbac03c6553533288a1774"
},
"downloads": -1,
"filename": "senscritique-0.5.5.tar.gz",
"has_sig": false,
"md5_digest": "f803346d568b2c7553f8ad6edfe96a41",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 7870,
"upload_time": "2023-05-04T10:23:07",
"upload_time_iso_8601": "2023-05-04T10:23:07.581936Z",
"url": "https://files.pythonhosted.org/packages/c2/e4/bc0922ec6207e9323c579fd87c0d8c4980dc59eb02877a9653cab109bcf9/senscritique-0.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-04 10:23:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "woctezuma",
"github_project": "SensCritique-Takeout",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "senscritique"
}