-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README.md: Added some basic information about the package.
Added test runner, all tests pass. Minor fix: poorly coded paginator was tested and fixed. Minor fix: changed id attributes from responses from int to str.
- Loading branch information
1 parent
b7fa57e
commit 67cff5b
Showing
10 changed files
with
100 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# opensea-python-wrapper | ||
A convenient Python wrapper for the OpenSea API. | ||
# OpenSea Python API Wrapper | ||
A convenient package for interacting with the OpenSea API; which allows for retrieval of asset data from the OpenSea marketplace (https://opensea.io/). | ||
|
||
# Warning about the dev branch | ||
* Do not expect the dev branch to be stable or complete. | ||
* There is no documentation yet. To get a sense on how the package works, have a look at the endpoint classes in the open_sea_v1 folder. You'll probably want to instanciate an endpoint class, and call it's methods. | ||
* There will be non backwards-compatible pushes and commit squashes on the dev branch. | ||
|
||
# About the documentation | ||
* OpenSea API V1 Documentation: https://docs.opensea.io/reference/ | ||
* Request an API key here: https://docs.opensea.io/reference/request-an-api-key | ||
* Anonymous API usage is limited to 2 queries per second. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from unittest import TestLoader, TextTestRunner | ||
|
||
|
||
def discover_and_run_tests() -> None: | ||
loader = TestLoader() | ||
tests = loader.discover('..', pattern='test_*') | ||
test_runner = TextTestRunner() | ||
test_runner.run(tests) | ||
|
||
|
||
if __name__ == '__main__': | ||
discover_and_run_tests() |