Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
This library is a wrapper for the https://aaio.so API from enthusiast. All methods are described and all types are explicitly defined. Methods that create requests to aaio.so return a pydantic's models for each response. Please write about all problems related to the library to issues
API is up-to-date as of 06 September 2024.
pip install aaio
git clone https://github.com/kewldan/AAIO
import asyncio
from aaio import AAIO
async def main():
client = AAIO('MERCHANT ID', 'SECRET KEY', 'API KEY')
balances = await client.get_balances()
print(balances) # type='success' code=None message=None balance=625.85 referral=172.96 hold=0.0
asyncio.run(main())
import asyncio
from aaio import AAIO
async def main():
client = AAIO('MERCHANT ID', 'SECRET KEY', api_key='API KEY')
# New way to create payments
payment_url = await client.get_pay_url(100, 'my_order_id', 'My order description', 'qiwi', 'support@aaio.so',
'referral code', currency='USD',
language='en')
print(payment_url) # Prints payment url for customer
# DEPRECATED METHOD
payment_url = client.create_payment(100, 'my_order_id', 'My order description', 'qiwi', 'support@aaio.so',
'referral code', currency='USD',
language='en')
print(payment_url)
###################
asyncio.run(main())
import asyncio
from aaio import AAIO
async def main():
client = AAIO('MERCHANT ID', 'SECRET KEY', api_key='API KEY')
payoff = await client.create_payoff('qiwi', 100.35, '79998887766', 'my_payoff_id')
print(payoff.status) # in_progress
asyncio.run(main())
FAQs
Async AAIO api wrapper for python
We found that aaio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.