معرفی شرکت ها


aioN26-0.0.6


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Unofficial asynchronous API interface to the N26 bank
ویژگی مقدار
سیستم عامل OS Independent
نام فایل aioN26-0.0.6
نام aioN26
نسخه کتابخانه 0.0.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Marcelo Troitino
ایمیل نویسنده marcelo@cygnuskraft.es
آدرس صفحه اصلی https://www.cygnuskraft.es/contact-us/
آدرس اینترنتی https://pypi.org/project/aioN26/
مجوز MIT
# aioN26 Unofficial Asynchronous N26-bank API implementation based on https://app.swaggerhub.com/apis/Rots/N26/0.2#/transactions/get_smrt_transactions I will document this better in the future, but here is a working example: :: import asyncio from aioN26.api import Api from pprint import pprint import logging import os from dotenv import load_dotenv # pip install python-dotenv # We load local environment variables from file MYSECRET.env # The file format is as follows: # ------------MYSECRET.env------------- # USERNAME=john.doe@mail.com # PASSWORD=mysecretpassword # DEVICE_TOKEN=yourgeneratedtoken # ------------------------------------- # to generate the DEVICE_TOKEN, run this in a python3 console: # >>> import uuid ; print(uuid.uuid4()) # and paste the result in the file load_dotenv('MYSECRET.env') # directory/file containing the environment variables logging.basicConfig(level=logging.DEBUG) async def main(): async with Api(username=os.getenv('USERNAME'), password=os.getenv('PASSWORD'), device_token=os.getenv('DEVICE_TOKEN')) as api: print(api.get_device_token()) print('\nget_me = \\') pprint(await api.get_me()) print('\nget_me_statuses = \\') pprint(await api.get_me_statuses()) print('\nget_addresses = \\') pprint(await api.get_addresses()) print('\nget_barzahlen_check = \\') pprint(await api.get_barzahlen_check()) print('\nget_spaces = \\') pprint(await api.get_spaces()) print('\nget_accounts = \\') pprint(await api.get_accounts()) print('\nget_settings_account_limits = \\') pprint(await api.get_settings_account_limits()) print('\nset_settings_account_limits = \\') pprint(await api.set_settings_account_limits(500, 3000)) print('\nget_smrt_categories = \\') pprint(await api.get_smrt_categories()) print('\nget_smrt_transactions = \\') transactions = await api.get_smrt_transactions(from_time=1636030755256, to_time=1636030755256) pprint(transactions) print('TOTAL', len(transactions)) asyncio.run(main())


نیازمندی

مقدار نام
==3.8.1 aiohttp
==2021.10.8 certifi
==8.0.3 click
==3.11.0 pycryptodome
==0.19.2 python-dotenv
==0.7.0 aiofiles


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl aioN26-0.0.6:

    pip install aioN26-0.0.6.whl


نصب پکیج tar.gz aioN26-0.0.6:

    pip install aioN26-0.0.6.tar.gz