Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testnet support for OpenSea API Helper #112

Open
au2001 opened this issue Jan 12, 2023 · 2 comments
Open

Testnet support for OpenSea API Helper #112

au2001 opened this issue Jan 12, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@au2001
Copy link

au2001 commented Jan 12, 2023

I am currently using OpenRarity, fetching collection metadata from OpenSea's API.
The project I'm working on has an instance on the ethereum chain as well as a testnet instance.

It would be nice to be able to pass in a parameter to activate the testnets API from OpenSea instead of the main API.

For example, fetch_opensea_collection_data can use the following API call:
https://testnets-api.opensea.io/api/v1/collection/{collection_slug} (docs)

@au2001 au2001 added the enhancement New feature or request label Jan 12, 2023
@impreso
Copy link
Contributor

impreso commented Feb 7, 2023

This is pretty cool idea , thanks for reporting. Perhaps to unblock you you can swap URL directly in the code while we work on 1.0 release?

@au2001
Copy link
Author

au2001 commented Feb 7, 2023

In order not to depend on a vendored version of this library, what I did for now is fetch all required metadata manually from another source (i.e. Alchemy in another JS microservice) instead of using opensea_api_helpers.

I had already set up and needed the other SDK for different parts of the project, so it was easier for me in the mean time.
But, on the long run, I would probably still prefer using opensea_api_helpers with the testnet option once available in release 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants