
Product
Rubygems Ecosystem Support Now Generally Available
Socket's Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
A library providing Python 3 bindings for the NFTScan API
This library is in Alpha / Early Alpha state, and is untested / provided as is. Feel free to open PRs or bug reports for issues, features or extensions
pip install nftscan-api
Get a key and secret. Then, check out the api endpoints listed, eg (getGroupByNftContract)[https://developer.nftscan.com/doc/#operation/getAllNftByUserAddressUsingPOST] - and try to use them
from nftscan import NftScanAPI
nftScan = NftScanAPI(
apiKey=<key>,
apiSecret=<secret>)
test_wallet = "0x3becf83939f34311b6bee143197872d877501b11"
print(nftScan.getGroupByNftContract(erc="erc721", user_address=test_wallet))
If looking to also use pro api endpoints:
from nftscan import NftScanAPI
nftScanPro = NftScanProAPI(
apiKey=<key>,
apiSecret=<secret>)
test_wallet = "0x3becf83939f34311b6bee143197872d877501b11"
test_nft = "0xffe572aee5cded696f617125aa66b9746960f4ec"
print(nftScanPro.getGroupByNftContract(erc="erc721", user_address=test_wallet))
print(nftScanPro.getNftByContract(nft_address=test_nft))
Write json encoded response to a file:
nftScan.getGroupByNftContract(erc="erc721", user_address=test_wallet, export_file_name='out.txt'))
Partial support for pro API Fixed missing dependencies and bad formatting for requirements.dev.stxt
Moved source repo to main NFTScan github org - https://github.com/nftscan2022/nftscan-api-python-sdk
Bugfixes:
FAQs
Python 3 wrapper for the NFTScan API
We found that nftscan-api 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.
Product
Socket's Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
Research
The Socket Research Team investigates a malicious npm package that appears to be an Advcash integration but triggers a reverse shell during payment success, targeting servers handling transactions.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.