Тёмный

[Web3] Using OpenSea's API to display NFTs with Javascript! 

Tim Carambat
Подписаться 16 тыс.
Просмотров 17 тыс.
50% 1

Today we are going to explore an endpoint of the OpenSea API and will fetch all the NFTs owned by an address that is connected to our site! Using only some simple JS we can do this in a single call.
So let's get hacking with some Web3 tech!
This is the end result:
gist.github.com/timothycaramb...

Опубликовано:

 

29 дек 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@DrFatRonnie
@DrFatRonnie 2 года назад
Thank you, great explaination and starting point for any beginner project.
@AhmedHassan-sd1ty
@AhmedHassan-sd1ty 9 месяцев назад
very useful , I was just assigned a project and I had to use Opensea API , ur video helped to understand the basics from where i can get started. Kudossss
@bhilder
@bhilder 2 года назад
Very informative web3 tutorial! I love when you would go on an explain how a certain aspect of the code works not just show us the code
@waifufx
@waifufx Год назад
Thank you so much, I even learnt about Debugger and the null operator thing. Thank you again.
@yalslaus
@yalslaus 2 года назад
Great video! Appreciate the clear explanation and code along. How long did it take you to get an api key? Its been almost a week for me but no response.
@nathanlazo814
@nathanlazo814 2 года назад
Keep going, u r great, web 3 devs support!!!
@poloiaish6281
@poloiaish6281 Год назад
Bro you earned a subscriber! Cause ur funny and I learned a lot 🤣
@mr.x5582
@mr.x5582 2 года назад
Great video!
@mplsbro
@mplsbro 2 года назад
awesome!
@BamerTech
@BamerTech 2 года назад
I have been trying a simple curl with php and keep gettin error code 1020, but when going to the url directly from the browser it works perfectly. Any ideas why?
@adriancygan9391
@adriancygan9391 10 месяцев назад
Cool video but I have a question. I would love to display on my website only specific type of nfts like videos or music, how can I do it?
@EdoPucciTV
@EdoPucciTV 2 года назад
can you make a video like this , where you can explain how to sell a single nft or a collection with opensea api?Continuing this video please
@MustafaTAli
@MustafaTAli Год назад
How I can display nfts using polygon not ethereum? because contract methods are different
@TimCarambat
@TimCarambat Год назад
OpenSeas API has no support for polygon or any other chain other than eth - last I checked. By far the easiest solution: simplehash.com
@MustafaTAli
@MustafaTAli Год назад
@@TimCarambat can you check this video please : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Wa54QCDrZ9Q.html I just want use polygon instead of eth with the same way in the video
@avenazpk
@avenazpk 2 года назад
Nice, I am also waiting for API key but no luck from a few weeks. Anyway workaround
@mehul88
@mehul88 2 года назад
Same here did you get the key ?
@avenazpk
@avenazpk 2 года назад
@@mehul88 Yes I got the key in 2 weeks
@mehul88
@mehul88 2 года назад
@@avenazpk Oh nice what date did you apply and when did you get it ?
@ayoubshadi2907
@ayoubshadi2907 Год назад
@@mehul88 did you manage to get your API Key ?
@typicalindiancoderwhowatch8458
@typicalindiancoderwhowatch8458 2 года назад
This is nice i hope you do this with react
@tombruce2677
@tombruce2677 Год назад
I'm trying to run this code on my local machine, but receiving CORS Error, any pointers on how fix this?
@ultravolture549
@ultravolture549 2 года назад
I'm pretty new to all this and I keep hearing about people making their own smart contract etc. To display NFTs do I need to make my own smart contract or no? Ngl Smart contracts kinda scare me 😂
@Saturn_uk
@Saturn_uk Год назад
const items = await fetch..... - I'm getting an error that the items is undefined. How I can fix this? Thank you 🙏
@CreationsNurf
@CreationsNurf 2 года назад
my image_url is aways null :( Im using the free OpenSea API
@3m4g
@3m4g 2 года назад
hello i will make an alarm system can you help me?
@NeikarNR
@NeikarNR 2 года назад
Let's say someone log in to my website using wallet. I will save in my database links to his nfts. Can I later chceck if he still ownes those nfts without him loging in? Please answer
@blockify
@blockify 2 года назад
how do you display only nfts from a specific collection?
@TimCarambat
@TimCarambat 2 года назад
docs.opensea.io/reference/getting-assets and fill out the "collection" parameter
@blockify
@blockify 2 года назад
@@TimCarambat thanks for the quick respons tim! I have had a look at the opensea api and it came back with 0 assets, I believe this is because I'm using polygon network instead of ethereum. Or could it be because I'm doing it on the testnets-api opensea io instead of the official
@CreationsNurf
@CreationsNurf 2 года назад
@@blockify same problem here, do you find a way to solve it?
@GrainSyndicate
@GrainSyndicate 2 года назад
What do I do if I'm catching the error could not talk to open sea?
@TimCarambat
@TimCarambat 2 года назад
probably just wait until it comes back online. 99% of the time its because OpenSea or its API is offline
@GrainSyndicate
@GrainSyndicate 2 года назад
@@TimCarambat yea seems it's been down for a couple days. Still down. Thanks.
@TimCarambat
@TimCarambat 2 года назад
@@GrainSyndicate I havent checked, but also they did a huge update recently and the API endpoint may have change and/or requires an API key now. docs.opensea.io/reference/api-overview
@parobg
@parobg Год назад
if I want to get the for sale price or the best offer price of an NFT I guess I should watch the previous video?
@jahanzebrr
@jahanzebrr Год назад
Dude, could you please increase the font size..... things are barely visible
@TimCarambat
@TimCarambat Год назад
Sorry, Source code is in description so you can view at a size that works best gist.github.com/timothycarambat/6367567cd8fb56a31d7f869c570efadf
@jahanzebrr
@jahanzebrr Год назад
@@TimCarambat I did, thank you.
Далее
Developing on OpenSea | Full Guide For Developers
8:25
Building a Dapp with the Opensea API
25:16
Просмотров 12 тыс.
How to set up your own NFT Marketplace for free
18:52
Просмотров 1,2 тыс.
Make Money from your API Tutorial
13:10
Просмотров 867 тыс.
How to create and deploy an ERC-721 (NFT)
21:15
Просмотров 30 тыс.
NFT Minter Tutorial For Beginners (Javascript, React)
28:00
How to create a NFT marketplace - Buy, Sell, and Auction
1:13:50