├── .github └── workflows │ └── pytests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── MANIFEST.in ├── README.md ├── pyproject.toml ├── requirements.txt ├── run_tests.sh ├── setup.cfg ├── setup.py ├── tests ├── __init__.py └── test_thepeer.py └── thepeer ├── __init__.py ├── main.py └── utils ├── __init__.py ├── constants.py └── exceptions ├── __init__.py ├── handleErrors.py └── types ├── __init__.py ├── base.py ├── forbidden.py ├── notacceptable.py ├── notfound.py ├── servererror.py ├── serviceunavailable.py ├── unauthorized.py └── unprocessableentity.py /.github/workflows/pytests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/.github/workflows/pytests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/README.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | httpx 2 | setuptools>=42 3 | -------------------------------------------------------------------------------- /run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/run_tests.sh -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_thepeer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/tests/test_thepeer.py -------------------------------------------------------------------------------- /thepeer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/__init__.py -------------------------------------------------------------------------------- /thepeer/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/main.py -------------------------------------------------------------------------------- /thepeer/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thepeer/utils/constants.py: -------------------------------------------------------------------------------- 1 | BASE_URL = "https://api.thepeer.co" 2 | -------------------------------------------------------------------------------- /thepeer/utils/exceptions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thepeer/utils/exceptions/handleErrors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/handleErrors.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/base.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/forbidden.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/forbidden.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/notacceptable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/notacceptable.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/notfound.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/notfound.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/servererror.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/servererror.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/serviceunavailable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/serviceunavailable.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/unauthorized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/unauthorized.py -------------------------------------------------------------------------------- /thepeer/utils/exceptions/types/unprocessableentity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thepeerstack/python-sdk/HEAD/thepeer/utils/exceptions/types/unprocessableentity.py --------------------------------------------------------------------------------