Metadata-Version: 2.1
Name: nftscan-api
Version: 0.1.2
Summary: Python 3 wrapper for the NFTScan API
Home-page: https://github.com/aausch/python-nftscan
Author: Alex Ausch
Author-email: alex@ausch.name
Maintainer: Alex Ausch
Maintainer-email: alex@ausch.name
License: MIT license
Project-URL: Source, https://github.com/aausch/python-nftscan
Keywords: nft,blockchain,nftscan
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Environment :: Web Environment
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# NFTScan NFT API Python 3 wrapper

A library providing Python 3 bindings for the [NFTScan API](https://developer.nftscan.com/)

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

# Installation:

```
pip install nftscan-api
```

# Usage:

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))
```

Write json encoded response to a file:

```
nftScan.getGroupByNftContract(erc="erc721", user_address=test_wallet, export_file_name='out.txt'))

```

## 0.1.2 (2022-03-31)

Bugfixes:
 * page_index should start at 1 
 * removed spurious "walletType" argument accidentally sent to  "getAllNftByUserAddress" endpoint	

## 0.1.1 (2022-03-31)

* Fixed a corner case for dumping response data to file

## 0.1.0 (2022-03-30)

* Created

